A car travels at a speed of 50 km/h for 3 hours. For the next 2 hours, it travels at a speed of 100 km/h. Find its average speed.