derivative of (x^2/2+2x-21/2)*ln(x-3) - (x-3)^2/4 -5 x