Plsss answer i will give you brainliest

a) g(2) = -4
b) g(-4) = -22
=====================================
Work Shown:
For part a, we replace every x with 2 and simplify
g(x) = -x^2 + x - 2
g(x) = -(x)^2 + x - 2
g(2) = -(2)^2 + 2 - 2
g(2) = -4 + 2 - 2
g(2) = -2 - 2
g(2) = -4
--------------
Part b is the same story, but with a different input this time
g(x) = -x^2 + x - 2
g(x) = -(x)^2 + x - 2
g(-4) = -(-4)^2 + (-4) - 2
g(-4) = -16 - 4 - 2
g(-4) = -20 - 2
g(-4) = -22