(2, f(2))

a = -0.5 (slider from -5 to 5)
b = 4 (slider from -5 to 5)
f(x) = If[x < 2, (a * x) + b, If[x ≟ 2, 3, (a * x^(2)) + b + 1]]
A = (2, 3)