Explanation:
First calculate: f (x+h) = -3 (x+h)^2 + 5 ( x+h) + 4 then expand :
- 3x^2 -6 xh - 3 h^2 + 5x + 5h + 4
Now subtract f(x) ....and divide the whole thing by h
[ -3x^2 - 6 xh - 3h^2 + 5x + 5h + 4 - ( -3x^2 + 5x +4) ] / h
= (- 6xh - 3h^2 + 5h ) / h
= -6x - 3h+ 5 <===== difference quotient