Rewrite as .

Rewrite as .

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

Multiply by .

Apply the product rule to .

Raise to the power of .

Rewrite using the commutative property of multiplication.

Multiply by .

Apply the product rule to .

Raise to the power of .

Factor 512z^3-27y^3