Will mark brainlest!!!

Step-by-step explanation:
We have,
[tex]g(x)=x^3+x^2-x-2[/tex]
To find g(-1), put -1 in place of x i.e.
[tex]g(-1)=(-1)^3+(-1)^2-(-1)-2\\\\=-1[/tex]
To find g(1), put 1 in place of x i.e.
[tex]g(1)=1^3+1^2-1-2\\\\=-1[/tex]
To find g(2), put 2 in place of x i.e.
[tex]g(2)=2^3+2^2-2-2\\\\=8[/tex]
g(2) + g(1) = 8+(-1)
= 7
Hence, this is the required solution.