There are two ways to do this (well technically three but the latter is CAS-ing things but it won't be reliable), the first is to rearrange the equations into

form and then compare the gradients and

intercept, the second is to use the determinate of a matrix from the matrix system of equations. I'll go through each, the second is probably quicker though.
If you rearrange both equations we get
Now there are a couple of rules.
1. For no solutions, the two lines need to be parallel, but not the same line. So that means the
gradients need to be the
same but the
y-ints need to be
different.
2. For infinite solutions, the two lines need to be the same line, so both the
gradient and y-int need to be the
same in both equations.
3. For a unique solution, the two lines need to be not parallel, that is the
gradients must be
different.
x+3y & =6<br />\\ 3y & =6-\left(m-2\right)x<br />\\ y & =2-\frac{m-2}{3}x<br />\\ 2x+\left(m-3\right)y & =m-1<br />\\ \left(m-3\right)y & =\left(m-1\right)-2x<br />\\ y & =\frac{m-1}{m-3}-\frac{2}{m-3}x<br />\end{alignedat})
So in the above we want no solutions, so that is we want the gradients to be the same but have different y-ints.
Equating gradients.
\left(m-3\right) & =6<br />\\ m^{2}-5m+6 & =6<br />\\ m^{2}-5m & =0<br />\\ m\left(m-5\right) & =0<br />\\ m=0\text{ or }m=5<br />\end{alignedat})
Having different y-ints.

So the intersection of the two will give us what satifies both conditions that we want, which is

.
Now for the matrix method. The system of equations can be written in matrix form as the following.

Now to solve this system of equations we would normally do the following.

Now for the inverse of

to exist, we need the determinate of

to be non zero.
- If the
determinate is zero, then the is no unique solution, that is there is
either infinite solutions or no solutions- If the
determinate is zero, then there is a
unique solution.
In the first case you would then substitute the values into the equations and see if you get the same two equations or not.
So for the above our det of

is
=(m-2)(m-3)-(3)(2)=m^{2}-5m)
So we want that to be equal to zero for no solutions, so
 & =0<br />\\ m=0\text{ or }m=5<br />\end{alignedat})
Now we substitute the values back into the equations to get
x+3y & =6<br />\\ 3x+3y & =6<br />\\ x+y & =2<br />\\ 2x+\left(m-3\right)y & =m-1<br />\\ 2x+2y & =4<br />\\ x+y & =2<br />\end{alignedat})
So we get the same two equations, which relates to the infinite solutions case. So we know that

is not what we're looking for, for no solutions.
x+3y & =6<br />\\ -2x+3y & =6<br />\\ 2x+\left(m-3\right)y & =m-1<br />\\ 2x-3y & =-1<br />\\ -2x+3y & =1<br />\end{alignedat})
Which are two different equations, so for no solutions we have

.
I guess you could also attempt to solve the system on your calc for

and

and then look at the denominators of the solutions to see which values gives you solutions and which don't but it won't always be reliable, and you should know the theory behind it and how to do it by hand anyways.
See if you can do the second question on your own. Hope that helps
