Rewrite as .

Rewrite as .

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

Apply the product rule to .

Multiply the exponents in .

Apply the power rule and multiply exponents, .

Multiply by .

Multiply the exponents in .

Apply the power rule and multiply exponents, .

Multiply by .

Remove parentheses.

Multiply by .

One to any power is one.

Factor x^12y^18+1