f1(x) = x^(2) - 1
f(x) = If[-Infinity ≤ x ≤ 1,f1]
g(x) = If[1  <  x ≤ Infinity,(3 * x) - 4]
A = Intersect(f, xAxis, (1, 0))
B = (1, -1)