make a sketch?

for the first " " seconds ...

, , let acceleration =

during the constant speed, you know speed and distance ... calculate the time.

for the last " " seconds (why ???) ... acceleration = , ,

finally, distance speeding up + distance slowing down = 144 m

solve for t and sum up all the times.

I get total time = 324 sec