TeX source:
\dfrac{g(x + h) – g(x)}{h} = \dfrac{2xh + h^2 – 5h}{h} = 2x + h – 5