a pair of trains are passing each other on the tracks