Gwen is travelling to another country. She flies for 3 hours at an average speed of 625 km/h on one plane. She then flies for 4 hours 15 minutes at an average speed of 880 km/h on a second plane. What is the total distance, in km, she travelled by plane?