The matrices $\mathbf{A}$, $\mathbf{B}$ and $\mathbf{C}$ are given by
$$
\mathbf{A}=\begin{pmatrix}2&k&k\\5&-1&3\\1&0&1\end{pmatrix},\quad
\mathbf{B}=\begin{pmatrix}1&0\\0&1\\1&0\end{pmatrix}
\quad\text{and}\quad
\mathbf{C}=\begin{pmatrix}0&1&1\\-1&2&0\end{pmatrix},
$$
where $k$ is a real constant.
a. Find $\mathbf{CAB}$. [3]
b. Given that $\mathbf{A}$ is singular, find the value of $k$. [3]
c. Using the value of $k$ from part b, find the equations of the invariant lines, through the origin, of the transformation in the $x$-$y$ plane represented by $\mathbf{CAB}$. [5]