Expand by multiplying each term in the first expression by each term in the second expression.

Simplify each term.

Multiply by by adding the exponents.

Multiply by .

Raise to the power of .

Use the power rule to combine exponents.

Add and .

Multiply by by adding the exponents.

Move .

Multiply by .

Multiply by by adding the exponents.

Move .

Multiply by .

Multiply by by adding the exponents.

Move .

Multiply by .

Raise to the power of .

Use the power rule to combine exponents.

Add and .

Combine the opposite terms in .

Reorder the factors in the terms and .

Subtract from .

Add and .

Reorder the factors in the terms and .

Subtract from .

Add and .

Simplify (a-b)(a^2+ab+b^2)