The matrix $\mathbf{M}$ is given by
$$
\mathbf{M}=\begin{pmatrix}\frac{\sqrt2}{2}&-\frac{\sqrt2}{2}\\\frac{\sqrt2}{2}&\frac{\sqrt2}{2}\end{pmatrix}\begin{pmatrix}1&k\\0&1\end{pmatrix},
$$
where $k$ is a constant.
a. The matrix $\mathbf{M}$ represents a sequence of two geometrical transformations. State the type of each transformation, and make clear the order in which they are applied. [2]
b. The triangle $ABC$ in the $x$-$y$ plane is transformed by $\mathbf{M}$ onto triangle $DEF$. Find, in terms of $k$, the single matrix which transforms triangle $DEF$ onto triangle $ABC$. [2]
c. Find the set of values of $k$ for which the transformation represented by $\mathbf{M}$ has no invariant lines through the origin. [7]