What is the length of the triangle shown below

[tex]\cos \theta = \dfrac{\text{Base}}{\text{Hypotenuse}}\\\\\\\cos 45^{\circ} = \dfrac{s}{10\sqrt 2}\\\\\implies \dfrac 1{\sqrt2} = \dfrac{s}{10\sqrt 2}\\\\\\\implies \dfrac s{10} = 1\\\\\implies s= 10[/tex]