A+2B=2(x+1)(x-1)+3ax-2x+1+2(-x-2)(x-2)+ax
=2x²-2+3ax-2x+1-2x²+8+ax
=(4a-2)x-1
所以 4a-2=0 a=1/2
A+2B=-1