Acceleration is defined as the rate of change of velocity within a given time duration.
If the initial velocity is 'u' and the final velocity is 'v', and the time duration is 't', then the acceleration 'a' is given by,
According to the given data in the problem,
Substitute the values,