Solve for x x-1=(x^2-4x+3)/(x+2)