Find the value of x. if your answer is not an integer, leave it in simplest form. please help

we can apply the sine function on the angle to get the following:
[tex]\sin (45)=\frac{\text{opposite side}}{hypotenuse}=\frac{x}{5}[/tex]solving for 'x', we get the following:
[tex]\begin{gathered} \frac{x}{5}=\sin (45) \\ \Rightarrow x=5\cdot\sin (45)=5\cdot\frac{1}{\sqrt[]{2}}=\frac{5}{\sqrt[]{2}} \\ x=\frac{5}{\sqrt[]{2}} \end{gathered}[/tex]therefore , x = 5/sqrt(2)