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 10 m/s. If their accelerations are 0.3m/s2 and 0.2m/s2 respectively, then the time they take to pass each other will be