Find the missing side length answer simplest form radical or decimal Question number 6 please

Given:
Hypotenuse = x
Angle = 30
Base = sqr root 3
Find -: The value of "x" and "y" is:
Sol:
Use trigonometric property then:
[tex]\cos\theta=\frac{\text{ Base}}{\text{ Hypotenuse}}[/tex][tex]\begin{gathered} \cos30=\frac{\sqrt{3}}{x} \\ \\ \frac{\sqrt{3}}{2}=\frac{\sqrt{3}}{x} \\ \\ x=\frac{2\sqrt{3}}{\sqrt{3}} \\ \\ x=2 \end{gathered}[/tex]For the value of "y" is:
[tex]\begin{gathered} \sin\theta=\frac{\text{ Perpendicular}}{\text{ Hypotenuse }} \\ \\ \sin30=\frac{y}{x} \\ \\ \frac{1}{2}=\frac{y}{2} \\ \\ y=\frac{2}{2} \\ \\ y=1 \end{gathered}[/tex]So the value of y is 1