A motor car starts from rest and accelerates uniformly for 10 seconds to a velocity of 40 m/s, it then runs at a constant speed and is finally brought to rest in 40 m with a constant acceleration.Total distance covered is 640 meters. Find acceleration, retardation and total time taken.