

Let the train will pass each other after x hours.
Given speed of the first train = 120 km/h
and speed of the second train = 140 km/h
Distance between two towns = 720 km
Now, 120x + 140x = 720 {since distance = speed*time}
=> 260x = 720
=> x = 720/260
=> x = 3
So, after 3 hours they will pass each other.
Now 3pm + 3 hr = 6 pm
Hense at 6 pm, they will pass each other.
