A car moves with a speed of 40 km/hr for 15 minutes and then with a speed of 60 km/hr for the next 15 minutes. What is the total distance covered by the car? Also, find the average speed of the car. [5 MARKS]