An airplane travels 3100km at a speed of 790km/h, and then encounters a tailwind that boosts its speed to 990km/h for the next 2800 km. what was the total time for the trip? what was the average speed of the plane for this trip?