Solve for the constants a and b that make the piecewise function continuous

f(x) = 2x-A-B, x≥3
Ax^2-Bx+3, 2≤x<3
x^2-4/x-2, x<2

for x < 2, f(x) = x+2 so f(2) = 4

Now you need
4A-2b+3 = 4
f(3) = 9A-3b+3
so you need
2*3-A-B = 9A-3b+3
Now finish it off