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.

Move to the left of .

Raise to the power of .

Remove unnecessary parentheses.

Factor 7x^3-189