Answer:
x = -1
Explanation:

Variable x cannot be equal to 2 since division by zero is not defined. Multiply both sides of the equation by x−2.
0 = x + 1
Swap sides so that all variable terms are on the left hand side.
x + 1 = 0
Subtract 1 from both sides. Anything subtracted from zero gives its negation.
x = -1