Answer:
x = 9
y = 9

Explanation:
This is a special right triangle with angle measures 30-60-90
and side lengths as follows:
The side that sees angle measure 30 is represented with a
The side that sees angle measure 60 is represented with a

The side that sees angle measure 90 is represented with 2a
The side that sees angle measure 90 is given as 18 so
2a = 18
a = 9 so x = 9
and since a = 9 y would be 9
