Mark M. answered 09/05/19
Retired math prof. Very extensive Precalculus tutoring experience.
f(x) = -2x2 + 3x + 1
[f(x+h) - f(x)] / h = [-2(x+h)2 + 3(x+h) + 1 - (-2x2 + 3x + 1)] / h
= [-2x2 - 4xh - 2h2 + 3x + 3h + 1 + 2x2 - 3x - 1] / h
= [-4xh - 2h2 + 3h] / h = h(-4x - 2h + 3) / h = -4x - 2h + 3