Two trains A and B of length 400 m each are moving on two parallel tracks with a uniform speed of 72 km h−1 in the same direction