Answer:
k = 1 or 7
Explanation:
Factor Theorem
If f(x) is a polynomial, and f(a) = 0, then (x – a) is a factor of f(x).
Given polynomial:

According to the factor theorem, if f(x) is divisible by (x + 2) then f(-2) = 0.
Substitute x = -2 into the function and set it to zero:

Factor the quadratic:

Apply the zero-product property:


Therefore, the values of k such that f(x) is divisible by the given linear polynomial are: