Apply the distributive property.

Apply the distributive property.

Apply the distributive property.

Simplify each term.

Multiply by .

Multiply by .

Multiply by .

Move to the left of .

Rewrite as .

Multiply .

Raise to the power of .

Raise to the power of .

Use the power rule to combine exponents.

Add and .

Rewrite as .

Multiply by .

Add and .

Subtract from .

Add and .

Simplify (-1+i)(-1-i)