Using the formula

math expression

(i1 + 3)2

= (i1)2 + 2(i1)(3) + (3)2

= i12 + 6i1 + 9