In this question, length of one leg is 4 in and the hypotenuse is 8 inch .
Let the other leg be x inch.
To find the value of x, we have to use pythagorean formula, which is

And here, since the shorter leg is half of hypotenuse and the longer leg is square root 3 times of shorter leg, so the triangle is 30-60-90 special right triangle.
And the acute angles are 30 degree and 60 degree.