The polynomial x3 + ax2 - bx = 6
---> x3 + ax2 - bx - 6 = 0
Since it has the factors (x + 1)(x + 2), we need to find the third factor.
(x + 1)(x + 2) ---> x2 + 3x + 2
The third factor must have just x for the x-term (to get a final product of x3)
and a number factor of -3 (to get a final product of -6).
The third factor is: x - 3.
Multiplying the factors (x + 1)(x + 2)(x - 3), we get: x3 + 0x2 - 7x - 6.
Therefore, the value of a is 0 and the value of b is -7.