How to do the problem and get a solution

Answer:
x = 9√3
y = 18
Step-by-step explanation:
Given the angle measures and given length of the triangle, we can see that this is a 30-60-90 triangle which means the angle measures are 30°, 60° and 90°. A 30-60-90 triangle has special side lengths as indicated in the diagram below. Since the length given is across from the 30° angle, then x = 9.
In this diagram, x = x√3 or 9√3 and y = 2x or 9(2) = 18.