find the value of the variables. if they are not integers. Express them in simplest radical form

Given data:
The given right angle triangle.
The value of x is,
[tex]\begin{gathered} \cos (60^{\circ})=\frac{x}{6} \\ x=6\cos (60^{\circ}) \\ =3 \end{gathered}[/tex]The value of y is,
[tex]\begin{gathered} \sin (60^{\circ})=\frac{y}{6} \\ y=6\sin (60^{\circ}) \\ =3\sqrt[]{3} \end{gathered}[/tex]Thus, the value of x is 3 and the value of y iis 3(3)^1/2 .