A right angle with angles 30° - 60° - 90° is cut from an equilateral triangle, for example as shown below in triangle ABC
The shorter leg would be the side BD (or CD) since D is the midpoint of side BC
We are to find the length of side AD (which is the height of the triangle ABC) and the hypotenuse AB (or AC ⇒ depends on which right angle triangle that you'd want to work with)
Since we know the three angles in the right angle triangle ABD, we can use the trigonometry ratio
Side AD is the opposite of the angle 60° and we know the length of side that is adjacent to 60° so we'll use the tangent ratio
tan (x°) = opposite ÷ adjacent
tan (60°) = AD ÷ 12.5
√3 = AD ÷ 12.5
AD = 12.5 × √3
AD = 21.65
We can then use the Pythagoras theorem to work out AB
AB² = AD² + BD²
AB² = 12.5² + 21.65²
AB² = 624.9725
AB = √624.9725
AB = 25 (rounded to 2 significant figures)