if one leg of a right triangle is twice as long as the other leg of the hypotenuse side is 5 cm long then what is the measurement of the shorter leg.