Question

13. Given ax³+x²+x+b, find the value of a and b if the remainder when divided by (x−1) and (x+1)are 6 and 2 respectively.

Fig: 1