A car covers a distance of 60 km in 3 hours. However, for the first 40 km it travels 16 km/hr. At what speed must it travel for the rest of the distance in order to complete the journey on time?