f(x) = If[-2 < x < 2, x^(2) + 8]
h(x) = If[-2 < x < -1, (-(x + 2)^(2)) + 12]
i(x) = If[-1 < x < 1, (-x^(2)) + 12]
j(x) = If[1 < x < 2, (-(x - 2)^(2)) + 12]
k(x) = If[-2 < x < 0, (2 * (x + 2)^(2))]
m(x) = If[-2 < x < -0.366, (-(x + 2)^(2)) + 8]
l(x) = If[-2 < x < -1, (2 * x^(2))]