...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: this is not the correct method to solve a quadratic equation.

Therefore

What were they doing in my textbook?

they used the quadratic formula.