To factor the sum or difference of cubes, you have to convert the given polynomial in the form of a³ + b³ or a³ - b³. Using those formulas, you can get the result.