Jack travelled from home to office at an average rate of 40 km/hour. Then he drove back home from office at an average rate of 60 km/hour. If he spent a total of 2 hours in travelling and he took the same road each way, what is the total distance (in km) that Jack travelled?