Find the value of X and y show work No decimals

For the angle 30 degree, perpendicular side is y base side is x and hypotenuse side is 24.
Determine the measure of side x and y by using trigonometry in triangle.
For side x:
[tex]\begin{gathered} \cos 30=\frac{x}{24} \\ \frac{\sqrt[]{3}}{2}=\frac{x}{24} \\ x=24\cdot\frac{\sqrt[]{3}}{2} \\ =12\sqrt[]{3} \end{gathered}[/tex]For side y:
[tex]\begin{gathered} \sin 30=\frac{y}{24} \\ \frac{1}{2}=\frac{y}{24} \\ y=24\cdot\frac{1}{2} \\ =12 \end{gathered}[/tex]So answer are:
[tex]x=12\sqrt[]{3}[/tex]and; y = 12.