The coefficient determinant is \(\Delta = \begin{vmatrix}1&a&1\\1&2&2\\1&5&3\end{vmatrix} = 1(6-10) - a(3-2) + 1(5-2) = -1-a\).
For no solution \(\Delta = 0\), so \(a = -1\).
With \(a=-1\) write the third coefficient row as \(\alpha R_1 + \beta R_2\): \(\alpha+\beta=1,\ \alpha+2\beta=3\) gives \(\beta=2,\ \alpha=-1\), and the y-coefficient check \(-\alpha+2\beta = 5\) holds.
So the left side of equation 3 equals \(-(x-y+z) + 2(x+2y+2z)\), and the right side must be \(-3 + 12 = 9\) for consistency.
The system has no solution when \(b \neq 9\).
Hence \(a=-1,\ b\neq 9\).
Answer: (2) \(a = -1,\ b \neq 9\)