x/x-1 - 2/1-x2 = 8/x+1
The first thing we need to do is find a common denominator. We need to factor out that middle term to see what parts make it up:
-x2 + 1 = (-x + 1)(x + 1) → -(x - 1)(x + 1)
Since we are subtracting a negative, we can flip that middle sign to a positive as well:
x/x-1 + 2/(x - 1)(x + 1) = 8/x+1
Now back to the LCD. The first fraction needs an x+1 in it's denominator, and the answer an x-1, so we multiply by essentially 1/1 in each of these cases:
x(x+1)/(x - 1)(x + 1) + 2/(x - 1)(x + 1) = 8(x-1)/(x - 1)(x + 1)
Now while the denominator's important, I'm just going to focus on the numerator right now to save eye strain:
x(x + 1) + 2 = 8(x - 1)
x2 + x + 2 = 8x - 8
Move everything to one side to get our quadratic equation:
x2 - 7x + 10 = 0
Factor. Since the middle term is negative and last positive, we know both factors will have a - sign:
(x - 2)(x - 5) = 0
x = 2, 5