Can someone explain to me how to do this???

Answer:
x^2 + 16^2 = (x + 8)^2
x^2 + 256 = x^2 + 16*x + 64
256 = 16*x + 64
192 = 16*x
x = 12
Answer D is correct.