How to factor a polynomial using the difference of two cubes