Two trains P and Q are moving along parallel tracks with the same uniform speed of 20 ms ^−1 . The driver of train P decides to overtake train Q and accelerates his train by 1 ms ^−2 . After 50 s, train P crosses the engine of train Q.Find out what was the distance between the two trains initially, provided the length of each train is 400m.