f(x) = (x - 3.0)^(2.0) + 2.0
g(x) = (x + 3.0)^(2.0) + 1.0
h(x) = (x + 1.0)^(2.0) - 2.0
p(x) = (x - 5.0)^(2.0) - 1.0