g(x) = If[-1 ≤ x ≤ 5,(-2^(x - 3))]
h(x) = If[(-1) / 2 ≤ x ≤ 1,(-1^((2 * x) + 1))]
f(x) = If[-3 ≤ x ≤ 2,abs(3^(x) - 4)]
e(x) = If[-2 ≤ x ≤ 4,(1 / 2)^(abs(x))]