A car starts moving rectilinearly first with acceleration $ a= 5 m/s^2$( the initial velocity is equal to zero ) then uniformly and finally be decelerating at the same rate$ a$ and comes to stop. The total time of the motion equal to $25 s $ the average velocity during that time is equal to 72 km/h . How long does the car move uniformly ?

I tried this by thinking that if car has constant acceleration first then its average velocity would have been same throughout the middle journey where it has uniform velocity and that is 20 m/s

so if it takes 4 seconds to accelerate and decelerate then 25 -8 = 17 sec

But given answer is 15 s . How ?