Find the two values of the constant $k$ for which $$
\begin{aligned}
kx+y+z&=2,\\
x+ky+z&=-1,\\
x+y+kz&=-1
\end{aligned}
$$ have no unique solution. [4]
Show that, for one of these values of $k$, the equations have no solution, and solve the equations for the other value of $k$. [3]