Answer:
a = 4
b = -2
Explanation:
If the given function is continuous at x = 1
And for the continuity of the function at x = 1,
Therefore, (a + b) = 2 -------(1)
If the function 'f' is continuous at x = 2,
Therefore,
2a + b = 6 -----(2)
Subtract equation (1) from (2),
(2a + b) - (a + b) = 6 - 2
a = 4
From equation (1),
4 + b = 2
b = -2