5. (10 points) 30 students are lined up in ascending order of height, with the height difference between adjacent students being the same. The sum of the heights of the first 10 students is 12.5 meters, and the sum of the heights of the first 20 students is 26.5 meters. What is the sum of the heights of these 30 students in meters?