Correct answer: a = 2, b > 10
The correct option is valid because for the composite function g(f(x)) to have a domain of [-1, 4], f(x) must output values within the range of g(x). Setting a = 2 ensures that f(-1) = 2(-1) + 2 = 0, which is within the domain of g, and b must be greater than 10 to ensure that f(x) for x < -1 does not exceed 4, maintaining the overall domain.