The expression ax squared plus bx is divisible by x-1 has remainder 2 when divided by xplus 1has remainder 8 when divided by x-2.find the values of a,b and c

ever think of actually using math?

The expression ax^2 + bx is divisible by (x-1), has remainder 2 when divided by (x+1), has remainder 8 when divided by (x-2).
find the values of a,b and c

Using the Remainder Theorem, we have
a+b+c = 0
a-b+c = 2
4a+2b+c = 8
Now just solve that as usual