30 60 90 triangles have a peculiar theorem to them. That’s why they’re known as special right triangles, and they’re super easy to solve. For whatever the length of the shortest side is, which we’ll call Z in this case, the length of the hypotenuse is always 2*Z, and the length of the adjacent side is always Z * sqrt3. In the context of this problem, that means that y = 16 and x = 8sqrt3.