z = 10
5√3 is the long leg. You divide by √3 to find the short leg, which will allow you to solve for the hypotenuse (z).
After you divide by √3, you get 5.
To find the hypotenuse using the short leg, you simply multiply by 2. Hence, z=10.
This is a common 30-60-90 special right triangle