When ax³+x²−2x+b is divided by x−1, the remainder is 20. When it is divided by x+1, the remainder is 10. Find a and b.
a) a=4,b=15
b) a=2,b=5
c) a=5,b=15
d) a=3,b=10