There are two approaches to this question, the rearranging method and the matrix method.
Firstly the rearranging method.
For the system of equations to have a unique solution, the two lines must not be parallel, that is their
gradients have to be different.
So we can rearrange the equations into

form.


So to have different gradients
\left(k-3\right) & \neq0<br />\\ \therefore k & \neq-4,\:3<br />\\ k & \in R\backslash\left\{ -4,3\right\} <br />\end{alignedat})
For there to be infinitely many solutions, we need to have both lines being the same line, that is
same gradient and same y intercept.
We've already done the work for the same gradient, it's the same as before, except using an equals sign. So that is for the gradients to be the same we have

Now for the same y intercept we

Now we need to satisfy both of these conditions at the same time, that is we have to take the intersection of the

and

which is

.
For there to be no solutions, we need the two lines to be
parallel but not the same line, that is we need to have the same gradients, but different y intercepts. We've already done the working for both of these, for the same gradients we have

. For different y intercepts, we have the same method as solving above, except with a not equals to sign, which gives

. Again we take the intersection of these two sets, and we arrive at

Now lets look at the second method, using matricies.
For there to be a solution to the

(where

is the matrix of the coefficients,

is a column matrix of

and

and

is a column matrix of the RHS of the equation), we need A to be invertible, so that we would arrive at

. For A to be invertible, the determinate of A must be non zero. So we can find A and let it not equal zero.
 & =\left(-2\times-6\right)-k\left(k+1\right)<br />\\ & =-k^{2}-k+12<br />\\ det\left(A\right) & \neq0<br />\\ -k^{2}-k+12 & \neq0<br />\\ k^{2}+k-12 & \neq0<br />\\ \left(k+4\right)\left(k-3\right) & \neq0<br />\\ \therefore k & \neq-4,\:3<br />\end{alignedat})
Now if there are infinite solutions or no solutions, then the determinate of A must be zero, as that will mean we won't have a unique solution to the system AX=b.
So again, we've done the working above, just with the wrong sign, so when
=0)
, we will have

. To distinguish between the two cases, we substitute the value of

back into the equation and see if we get the same line, or two different lines.
For

x-6y & =-10<br />\\ -3x-6y & =-10....[2]<br />\end{alignedat})
That is we have two different lines, so for

we have no solutions.
For


So we do have the same line, hence for

we have infinite solutions.
Anyways, hope that helps
