solve for x:

1/x-1 + x/x+2 = 2

multiply both sides by (x-1)(x+2)

x+1 + x(x-1)=2(x-1)(x+2)
check that. THe multiply it all ought, gather terms, and solve. It will be a quadratic equation.