A train traveling at 18.2 m/s accelerates to 39.9 m/s over a distance of 1250 m. How long did it take the train to cover this distance?