I'm having trouble finding the answer to this problem. Here is how I have been trying to solve it:

First, here is the problem:

The denominator of the second fraction is arranged wrong (x should be first, like the others) so I multiply it by -1.

Next, I factor the third fraction and I see it's factors are (x+1)(x-1), so that must be the common denominator.

Next, I multiply:

Last, I combine like terms and I have the answer:

I think I did something wrong though, because the book says this fraction here is the correct answer:

But it doesn't show how to get that answer, so I have no way to figure out what I'm doing wrong. I have done it three time and I still come up with the same incorrect answer.

What am I doing wrong?