f(x) = x^(3) - 18 * x^(2) + 112 * x
g(x) = 52 * x