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.

Rewrite as .

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

Cancel the common factor.

Rewrite the expression.

Simplify (x^3-1)/(x^2-1)