Find the value of both variables.

[tex] \cos(45) = \frac{5 \sqrt{2} }{x} \\ \frac{1}{ \sqrt{2} } = \frac{5 \sqrt{2} }{x} \\ x = 10 \\ \\ \tan(45) = \frac{y}{5 \sqrt{2} } \\ 1 = \frac{y}{5 \sqrt{2} } \\ y = 5 \sqrt{2} [/tex]
I hope I helped you ^_^