What is the value of x in the triangle?

a 45-45-90 triangle with a leg of length 12 times the square root of 2 and hypotenuse of length x

A.

B.

C.

D.