Factor out of .

Factor out of .

Factor out of .

Rewrite as .

Since both terms are perfect cubes, factor using the difference of cubes formula, where and .

Simplify.

Multiply by .

One to any power is one.

Remove unnecessary parentheses.

Factor 8x^3-8