f(x) = abs(x + 2.0)
g(x) = f(x) - 2.0
h(x) = abs(x + 5.0)
p(x) = h(x) + 3.0
q(x) = 1.0 / sin(x)