Let $$M=\begin{pmatrix}
-1&2&3&4\\
1&0&1&-1\\
1&-2&-3&a\\
1&2&5&2
\end{pmatrix}.$$
(i) For $a\ne-4$, the range space of the transformation represented by $M$ is denoted by $V$.
(a) Find $\dim V$ and show that the first, second and fourth columns of $M$ form a basis for $V$. [5]
(b) Show that if $(x,y,z,t)^{\mathsf T}\in V$, then $x+2y=t$. [4]
(ii) For $a=-4$, find the general solution of $$M\mathbf x=\begin{pmatrix}-1\\1\\1\\1\end{pmatrix}.$$ [5]