Two trains one of length 100 m and another of length 125 m, are moving in mutually opposite directions along parallel lines, meet each other, each with speed 100 m/s. If their accelerations are 0.3 m/s2 and 0.2 m/s2 respectively, then the time they take to pass each other will be