If x tends to 1, LIM (AX + b) / (x ^ 2-3x + 2) = 2, then what are a and B respectively

If x tends to 1, LIM (AX + b) / (x ^ 2-3x + 2) = 2, then what are a and B respectively


lim(ax+b)/(x^2-3x+2)
=lim(ax+b)/(x-1)(x-2)
=-lim(ax+b)/(x-1)
=-lim(ax-a+a+b)/(x-1)
=-lim(a+(a+b)/(x-1))=2
X - > 1, so X-1 - > ∞
So a + B = 0 and - A + 0 = 2
a=-2,b=2