I need help to solve this question

sub x=1, a(1)^2 +b(1) + c=0,
a+b+c=0______eqn 1
sub x=-1, a(-1)^2+b(-1)+c=2
a-b+c=2_______eqn 2
sub x=2, a(2)^2+b(2)+c=8
4a+2b+c=8______eqn 3
from eqn 1
c=-a-b
eqn2
a-b-a-b=2
-2b=2
b=-1
eqn3
4a + 2b -a-b=8
3a+b=8
3a+(-1)=8
3a-1=8
3a=9
a=3
c=-a-b
c=-3--1
c=-2