$$\mathbf{A} = \begin{pmatrix} 3 & 1 & -1 \\ 1 & 1 & 1 \\ 5 & 3 & u \end{pmatrix}, \quad u \neq 1.$$
- Show that \(\det \mathbf{A} = 2(u - 1)\). [2]
- Find the inverse of \(\mathbf{A}\). [6]
The image of the vector \(\begin{pmatrix} a \\ b \\ c \end{pmatrix}\) when transformed by the matrix \(\begin{pmatrix} 3 & 1 & -1 \\ 1 & 1 & 1 \\ 5 & 3 & 6 \end{pmatrix}\) is \(\begin{pmatrix} 3 \\ 1 \\ 6 \end{pmatrix}\).
- Find the values of \(a\), \(b\) and \(c\). [3]