For this problem all you have to do is plug in the value that they is in parenthesis for x. If it says g (x) = x and then it asks g(5) = ?, it is saying what happens if i put 5 in for every x. in this case it would be g (5) = 5. I just replaced x with 5.
So g (-2) we sub -2 for x g (-2) = -2 (-2)^2 + 3 (-2) - 5 = -2 (4) - 6 - 5 = -19