What are the derivatives at those locations?
I can't solve this question, I need some help! Please sketch the graph if you can!
A function has a local maximum at x=-2, a local maximum at x=6, and a local minimum at x=1. What does this information tell you about the function? Sketch a possible function that has these characteristics.
Notice that the problem says "sketch a possible function". There are an infinite number of such functions, you should try graphing the simplest one. What does a graph look around a minimum or maximum? Notice that you are not given the value of the function at x= 1, -2, or 6 so you can take them to be whatever you want. (The "local minimum" can be higher than the "local maxima"!)
Note that the derivatives at these points can also be infinite of undefined. If the derivative is infinite there is a cusp. If the derivative is undefined there is a sharp edge. (There are other possibilities for undefined derivatives, but in the other cases there would be no min or max.)