Find the length of side Y (this is from the geometry for enjoyment and challenge textbook) PLEASE ANSWER ASAP IT'S DUE TOMORROW!!!

Answer:
y= 3
Step-by-step explanation:
The triangle on the left is a right triangle, so we can use trig functions to solve for the missing side, y.
First, find the length of the side that both triangles are connected to.
tan30=x/9
Isolate the x variable and solve.
9(tan30)=x
x= 5.19615
Now use the Pythagorean Theorem to solve for the side length, y.
a^2+ b^2 = c^2
(5.19615)^2+ b^2= 6^2
c= 3