Though this is for a calculus problem, I've gotten all the calc worked out. I just don't understand how the book came to this conclusion after factoring!
The answer the book comes to is
The way I did it in the first place was:
What were they doing in my textbook? Unfortunately they give no clues and I've been staring at it for 15 minutes now.