Two men are walking towards each other alongside a railway track. A freight train overtakes one of them in 20 sec and in exactly 10 minutes later meets the other man coming from the opposite direction. The train passes this man in 18 seconds. Assume the speed is constant throughout. How long after the train has passed the second man will the two men meet?