f(x) = (2 * x^(2)) - (3 * x) + 1
g(x) = (-x^(2)) - x - 1
h(x) = x^(2) / 2 + (2 * x) - 1