can someone help me AND explain how they got the answer?

Answer:
g=4
Step-by-step explanation:
this is a 30 60 90 triangle. the hypotenuse is 2x while the shortest side is x. if 8=2x then x must be 4.