The matrices $\mathbf{A}$, $\mathbf{B}$ and $\mathbf{C}$ are given by
$$
\mathbf{A}=\begin{pmatrix}1&2&3\\2&1&3\\3&2&5\end{pmatrix},\quad
\mathbf{B}=\begin{pmatrix}0&-2\\-1&3\\0&0\end{pmatrix}
\quad\text{and}\quad
\mathbf{C}=\begin{pmatrix}-2&-1&1\\1&1&3\end{pmatrix}.
$$
a. Show that $\mathbf{CAB}=\begin{pmatrix}3&-7\\-9&3\end{pmatrix}$. [3]
b. Find the equations of the invariant lines, through the origin, of the transformation in the $x$-$y$ plane represented by $\mathbf{CAB}$. [5]
Let $\mathbf{M}=\begin{pmatrix}3&0\\0&1\end{pmatrix}$.
c. Give full details of the transformation represented by $\mathbf{M}$. [2]
d. Find the matrix $\mathbf{N}$ such that $\mathbf{NM}=\mathbf{CAB}$. [3]