sketch the first and second derivative graph