If the hypotenuse of a triangle is 30 inches and one of the legs is 10 in, how long is the other leg?