The OP would like to factor the expression on the left side of the equation, and is showing the solution shown in the book, but doesn't know how to get the factorization that is shown.
I believe the best way to crack this one is to use a known formula for factoring a cubic. Here's a discussion of several techniques - http://en.wikipedia.org/wiki/Cubic_equation. See the section titled "Cardano's method" on the linked-to page.
Factoring cubic equations is a lot more complicated than factoring quadratics, but the saving grace here is that there is no quadratic (p2) term in your equation, which should make the work a little easier.