A student rides on a bicycle at 8 km/hr and reaches his school 2.5 minutes late. The next day, he increases his speed to 10 km/hr and reaches school 5 minutes early. How far is the school from his house?