How long is AB please explain how you answered

Answer:
AB = [tex]4\sqrt{3}[/tex]
Step-by-step explanation:
30-60-90 theorem, usually x is used to explain but I will use y since x is in your problem, just substitute any variable for y
in a 30 -60 -90 triangle
the length opposite the 30 degrees is y
the length opposite the 60 degrees is y[tex]\sqrt{3}[/tex]
the length opposite the 90 degrees is 2y
since y[tex]\sqrt{3}[/tex] = 6
y = 6/[tex]\sqrt{3}[/tex]
rationalizing the denominator
[tex]\frac{6}{\sqrt{3} } *\frac{\sqrt{3}}{\sqrt{3}}[/tex] = [tex]\frac{6\sqrt{3} }{3} = 2\sqrt{3}[/tex]
if y = [tex]2\sqrt{3}[/tex], 2y = [tex]4\sqrt{3}[/tex]