question 10) ax³ +5x²-x+b has remainder 7 when divided by (x-1), and remainder-11 when divided by (x + 2) Find a and b.

i know the answer which is: a=4 and b=-1
but I can't seem to get the working out right myself so pls show working out to get to that answer pls

question 10 ax 5xxb has remainder 7 when divided by x1 and remainder11 when divided by x 2 Find a and bi know the answer which is a4 and b1 but I cant seem to class=