The max speed is the speed of the car after the first 5 seconds as that’s when it stops accelerating and travelling at a constant speed for the next 20 seconds. Here’s a diagram:
hope this helps!