I need help with the answer???? Find the length of “X”

Answer:
Given that,
To find the length of the side (x) of the given right triangle.
From the figure we get that,
hypotenuse= root(8)
we know that,
[tex]\sin \theta=\frac{opposite}{hypotenuse}[/tex]opposite side=root (8)
Substituting this we get,
[tex]\sin 45=\frac{x}{\sqrt[]{8}}[/tex][tex]\frac{1}{\sqrt[]{2}}=\frac{x}{\sqrt[]{8}}[/tex][tex]x=\frac{\sqrt[]{8}}{\sqrt[]{2}}[/tex][tex]x=\frac{\sqrt[]{4\times2}}{\sqrt[]{2}}[/tex][tex]x=\frac{2\sqrt[]{2}}{\sqrt[]{2}}[/tex][tex]x=2[/tex]Answer is: x=2.