A car is driving on a gravel road at a speed of 12 m/s. The car maintains this speed for 10 seconds. Going around a bend the car reduces speed to 5 m/s during the next 5 seconds. Over the last 15 seconds the car increases its speed with 2 m/s every second. Determine the maximum and minimum values for both axes.