a car travel the first 20km with a speed of 40km/h and the next 40km with a speed of 80km/h . find the average speed​