The correct option is B 36
The identity (a+b)2=a2+2ab+b2 represents a perfect square.
Consider the expression x2+12x. If we halve the coefficient of x and add its square to this expression, we get
x2+12x+36.
But, x2+12x+36=x2+2(x)(6)+62
=(x+6)2, a perfect square.
Thus, we have to add 36 to the expression x2+12x so that the resultant is a perfect square.