A triangle has one leg of 24 inches and one leg of 10 inches. For the triangle to be a right triangle, what must be the length of the hypotenuse