The lengths of corresponding sides of 2 similar right triangles are in the ratio 4:5. The hypotenuse of the smaller triangle is 24 inches long. How many inches long is the hypotenuse of the larger triangle?