Please help me solve this problem x and y

Answer:
[tex]x=9,\\y=9\sqrt{3}[/tex]
Step-by-step explanation:
Using trig for right triangles:
[tex]\sin 30^{\circ}=\frac{x}{18},\\x=18\sin 30^{\circ}=\boxed{9}[/tex],
[tex]\cos 30^{\circ}=\frac{y}{18},\\y=18\cos 30^{\circ}=18\cdot\frac{\sqrt{3}}{2}=\boxed{9\sqrt{3}}[/tex].
If you aren't familiar with trig, this may have been introduced to you as a special triangle. In that case, the ratios of the sides of a 30-60-90 triangle are always:
[tex]x:x\sqrt{3}:2x[/tex], where [tex]2x[/tex] is the hypotenuse and [tex]x[/tex] is always the side opposite to the [tex]30^{\circ}[/tex] angle