An airplane flies for 1.25 hours with a constant speed of 1080 km/hr and then for another 2.5 hours with a constant speed of 984 km/hr. How far (what distance) did it go?