Find the value of X

[tex] \sf \leadsto \cos(45) \degree = \dfrac{25}{x} [/tex]
[tex] \\ [/tex]
[tex] \sf \leadsto \dfrac{1}{ \sqrt{2} } = \dfrac{25}{x} [/tex]
[tex] \\ [/tex]
squaring both sides:
[tex] \sf \leadsto \dfrac{1}{ 2 } = \dfrac{625}{x {}^{2} } [/tex]
[tex] \\ \\ [/tex]
[tex] \sf \leadsto {x}^{2} = 625 \times 2[/tex]
[tex] \\ [/tex]
[tex] \sf \leadsto {x}^{2} = 1250[/tex]
[tex] \\ \\ [/tex]
[tex] \sf \leadsto {x} = \sqrt{1250} [/tex]
[tex] \\ \\ [/tex]
[tex] \sf \leadsto {x} = 35.355 \{approx \}[/tex]