A bus travels a distance of 120km with a speed of 40km/h and returns with a speed of30km/h. Calculat the average speed for the entire journey.