For what value of the constants A and B is the function f
continuous on (−[infinity], [infinity])?
f (x) =


A√−x + 6 −1 for x < 2
Bx2 + 2 for 2 ≤x < 3
2Ax + B for x ≥3