Since (x + 1), (x - 4) are factors of

That means if x = -1 make the polynomial equal to 0, and x = 4 also make it = 0
Then we can make 2 equations from these informations


Since when dividing it by x + 2 the remainder is 6
That means when substitute x by -2 the answer will be 6

Now, we have a system of equations to solve it to find a, b, c
We will Subtract equation (1) from equation (2) to eliminate c

Subtract equation (1) from equation (3) to eliminate c

Subtract equation (5) from equation (4) to eliminate a

Substitute the value of b in equation (4) to find a

Substitute the values of a and b in equation (1) to find c

The values of a, b, c are
a = 0
b = -13
c = -12