Answer:
It's literally just
x=0 or x=1
step by step:
Multiply all terms by (x-2)(x+1) and cancel:
x(x+1)+(x−1)(x−2)=−1(x−2)(x+1)
2x2−2x+2=−x2+x+2(Simplify both sides of the equation)
2x2−2x+2−(−x2+x+2)=−x2+x+2−(−x2+x+2)(Subtract -x^2+x+2 from both sides)
3x2−3x=0
3x(x−1)=0(Factor left side of equation)
3x=0 or x−1=0(Set factors equal to 0)
x=0 or x=1
Check answers. (Plug them in to make sure they work.)
x=0(Works in original equation)
x=1(Works in original equation)