Use the Pythagorean theorem - the square of the length of the hypotenuse = the sum of the squares of the legs:
The longer leg is 24 m.
Hope the solution helped. Sometimes you need more than a solution. Contact fcabanski@hotmail.com for online, private tutoring, or personalized problem solving (quick for groups of problems.)