Mr. Ramos drove at an average speed of 80 km/h from Town A to Town B. The distance from Town A to B is 400 km. On the way back, he increased hid speed by 20 km/h. How much time did Mr. Ramos take for the return journey?

(Need formula/solution please.)