Find the value of k so that each remainder is 0

A. x^2 + kx - 6 divided by (x + 1)

B. 2x^3 + kx^2 + 7x - 2 divided by (x - 2)

By the Remainder Theorem

A(-1) = 1-k-6 = 5-k
so, k=5 and A is x^2-5x-6 = (x+1)(x-6)

Do B in like wise