TeX source:
g(x + h) = (x + h) – 5(x + h) = x^2 + 2xh + h^2 – 5x – 5h