Hi, the problem is to factor and simplify the expression

I can factor the left side but the right leaves me stuck.

I tried multiplying both terms in the right and got

but I feel like I am going the wrong way and don't think it should be this complicated.

The answer in the back of the book is

I don't know where the final term came from.

Thank you.