For this one it's going to be harder to make x the subject. Limits aren't all that hard, just a bit weird to get used to at first.
y=1/(x²-3x+2)
y=1/[(x-2)(x-1)]. As the denominator can not =0, x=/=1,2, but true for all other x.
So domain is x=/=1,2, but all other belonging to the reals.
For range we divide the whole fraction by the highest power of x in denominator, as Rivet said (x²)
y=[1/x²]/[x²/x² -3x/x²+2/x²]
y=[1/x²]/[1-3/x+2/x²]
We know the special limit results that Lim (x->0) of 1/x is infinity and that Lim (x->inf) of 1/x is 0.
So we do the lim as x approches infinity.
y=[0]/[1-0+0]
So y approaches 0, never reaching it.
So range, y=/=0, all other reals.
Eventually you'll be able to just look at the function and know the domain and range within a second or two, so don't worry!