It has to do with the distance they are from each other and the COMBINED driving times. They both went at the same speed. The distance from each of their destinations is 240 miles. The total driving time was 4 hours. 240/4 = 60.
Their speed was 60 mph.