f(x) = (x - 2) * (x + 1) * (x - 4) / 5 + 5
g(x) = sqrt(f(x))
h(x) = 1 / f(x)