In a playground, a slide with a ladder makes a right triangle with the ground. The distance from the bottom of the ladder to the base of the slide is 24 ft. The ladder is 10 ft. high. How long is the slide?