f(x) = abs(x)
g(x) = 3.0
A = Intersect(f, g, (3.0, 3.0))
B = Intersect(f, g, (-3.0, 3.0))