I keep getting confused on this problem. So it is:

determine a and b so that the following function is continuous on (-infinity, infinity)

f(x)= 3x-2, x is less than or equal to 4 and greater or equal to 2.

f(x)= x^2+ax+b, absolute value of (x-3) is greater or equal to 1.