In five successive hours, a car traveled 40 km, 45 km, 50 km, 35 km and 55 km. In the next
five hours, it traveled with an average speed of 65 km per hour. Find the total distance the
car traveled in 10 hours.