玩嘢先
Let A(x)=(2x^2+9x+14)(x+2) and B(x)=(2x^2+9x+14)(x-1)
Then A(1) = 75, A(-2)=0, B(1)=0, B(-2)=-12
Let p(x)=m*A(x)+n*B(x).
p(1)=m*A(1)+n*B(1)
50=m*75+n*0
m=2/3
p(-2)=m*A(-2)+n*B(-2)
-52=m*0+n*(-12)
n=13/3
p(x) = (2x^2+9x+14)[(2/3)(x+2)+(13/3)(x-1)]
p(x) = (2x^2+9x+14)(5x-3)