T264a

a = -2 (slider from -5 to 5)
b = 5.8 (slider from -5 to 10)
f(x) = If[x < 2, (-x^(2)) - a, If[x ≟ 2, a, (a * x^(2)) + b]]
P: (2, a)