if g(x) = x squared +5x then find the value for g(-2)+2
We add the definition: g(x) = x2 + 5x
Using stored definitions, replace g(-2) + 2 with (-2)2 + 5×-2 + 2
Let's evaluate: (-2)2 + 5×-2 + 2
(-2)2 = 45×-2 = -10
4 -10 + 2
4 -10 = -6
-6 + 2
Result:   -4