Answer:
Cosθ =Adjacent / hypotenuse
[tex] \cos(45) = \frac{6}{x} \\ \frac{1}{ \sqrt{2} } = \frac{6}{x} \\ x = 6 \sqrt{2} [/tex]