Rewrite (x+4)^2 as :
(x+4)(x+4)
Now expand using FOIL:
X*X + x*4 + 4*x + 4*4
Simplify to get the final answer:
x^2 + 8x + 16