A car on a straight track starts from rest and accelerates at a constant rate of 0.8 ms-2 for T
seconds. The car then maintains a constant speed for a further 30 seconds and then
decelerates to rest at a rate of 0.4 ms^-2
(b) Given that the total distance travelled is 960 metres, find
(i) the value of T
(ii) the average speed of the car.