A train 200m long travelling at 80m/s overtakes another train 400m long travelling at 30m/s. How much time is taken by the first train to pass the second train?