A car travels from A to B at a speed of 20kmh−1 and returns at a speed of 40kmh−1. What is the average velocity of the car for the whole journey.?