
William W. answered 10/11/22
Experienced Tutor and Retired Engineer
To be continuous, you want the f(x) value to be the same for all three increments surrounding x = 2. To do that, since f(2) = 6, you can set each of the other two portions of the function equal to 6:
4(2) + a = 6
8 + a = 6
a = -2
b(2) + 4 = 6
2b = 2
b = 1
So for f(x) to be continuous, "a" must be -2 and "b" must be 1