a: =>x^2+x+2x+2-a-2 chia hết cho x+1
=>-a-2=0
=>a=-2
b: =>-3x^2+9x-8x+24+2a-24 chia hết cho x-3
=>2a-24=0
=>a=12
c: =>x^3-3x^2-x^2+3x-x+3+a-2 chia hết cho x-3
=>a-2=0
=>a=2
d: =>x^4+5x^3-x^2-5x+4x+20+20-3a chiahết cho x+5
=>20-3a=0
=>a=20/3
e: =>x^4-4x^3+4x^3-16x^2+15x^2-60x+63x-252+2a+253 chia hêt cho x-4
=>2a+253=0
=>a=-253/2