Factor using the formula for the sum or difference of two cubes:
Confirm both terms really are cubes. and is already a cube, so ; and . Since the operation between them is subtraction, the difference-of-cubes formula applies.
Write down the identity. with and . Note the middle sign in the quadratic factor is , the opposite of the sign in the binomial factor.
Build the linear factor.
Build the quadratic factor. so the second factor is . Its discriminant is , so it does not factor further over the real numbers.
Write the result and verify. Expanding: , and every other term cancels in pairs, leaving .
Need to solve a different problem like this? Open the solver →