You can put this solution on YOUR website! First try distributive property:
-
From here, pay careful attention to the whole number powers of i.
You already know i^2=-1; and you understand that or .
Showing the first few powers of i: ------ (think how this makes sense.)
.
The pattern should tell you also that .
Also notice how the values cycle. They go in a cycle of i, -1, -i, 1; and this cycle repeats.
Back to the unfinished expression from your given one, or .