We expand the expression by multiplying each term in the first bracket with every term in the second bracket,
Then, we use that i2=−1 and write the real and imaginary parts together,