A car has an initial velocity of 10m/s. It accelerates at a rate of 2m/s2 until it reaches 30m/s. How far does it travel and for how long?