what is the derivative of 3x-1/2x^2-6