The correct option is B 36
Using the algebraic identity (a+b)2=(a2+2ab+b2), we have
(x+6)2=x2+12x+36....(1)
Thus, 36 must be added to x2 and 12x to make to complete the square.
In mathematical terms, we have
x2+12x+z=(x+6)2
⟹x2+2(x)(6)+z=(x+6)2
⟹z=36...(Using (i))
Thus, the value of z so that all the 3 figures can be arranged to form a square of side (x +6) is 36.