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

Apply the distributive property.

Multiply .

Multiply by .

Multiply by .

Subtract from .

Add and .

Add and .

Rewrite as .

Expand using the FOIL Method.

Apply the distributive property.

Apply the distributive property.

Apply the distributive property.

Simplify and combine like terms.

Simplify each term.

Multiply by .

Multiply by .

Add and .

Reorder and .

Add and .

Expand using the FOIL Method.

Apply the distributive property.

Apply the distributive property.

Apply the distributive property.

Combine the opposite terms in .

Reorder the factors in the terms and .

Add and .

Add and .

Simplify each term.

Multiply by .

Rewrite using the commutative property of multiplication.

Multiply by by adding the exponents.

Move .

Multiply by .

Rewrite as .

Expand using the FOIL Method.

Apply the distributive property.

Apply the distributive property.

Apply the distributive property.

Simplify and combine like terms.

Simplify each term.

Multiply by .

Rewrite using the commutative property of multiplication.

Rewrite using the commutative property of multiplication.

Multiply by by adding the exponents.

Move .

Multiply by .

Multiply by .

Multiply by .

Subtract from .

Move .

Subtract from .

Add and .

Add and .

Subtract from .

Add and .

Subtract from .

Add and .

Factor (a+b)^3-(a-b)^3