Split the first equation into three parts, i.e. (x+1), (x-2) and (x+3). Multiply the first two parts to get x2- x - 2, then multiply the result with the third part to get x3 + 2x2 - 5x - 6. All that is left now is to solve the equation x3 + 2x2 - 5x - 6 = ax3 + bx2 + cx + dand you can see that a = 1b = 2c = -5d = -6