Using the Square of a Sum formula
(x + y)2 = x2 + 2xy + y2,
we have:
(i1 + 3)2
= (i1)2 + 2(i1)(3) + (3)2 = i12 + 6i1 + 9
= (i1)2 + 2(i1)(3) + (3)2
= i12 + 6i1 + 9