Apply the distributive property.

Apply the distributive property.

Apply the distributive property.

Combine the opposite terms in .

Reorder the factors in the terms and .

Subtract from .

Add and .

Simplify each term.

Multiply by .

Multiply .

Raise to the power of .

Raise to the power of .

Use the power rule to combine exponents.

Add and .

Rewrite as .

Multiply by .

Simplify (x-i)(x+i)