For what value of K will have infinitely many solutions?

$\begingroup$

I've been struggling for hours trying to solve this: For what value of k does the following system of linear equations have infinitely many solutions?

$$x+y+kz=3$$ $$x+ky+z=-7$$ $$kx+y+z=4$$

$\endgroup$

2