Collect "like terms":
Use FOIL (First-Outer-Inner-Last, which is really just the distributive property):
To finish it off, use that i2=-1:
Use FOIL again, and wherever you see i2, replace it with -1:
Figures describing the Mandelbrot process, from textbook