Respuesta :

g(x) = x + 7 when x =< 2

g(x) = 8 - x when x > 2

g(-2) Evaluate the first function

g(-2) = -2 + 7

g(-2) = 5

g(2) Evaluate the first function

g(2) = 2 + 7

g(2) = 9

g(8) Evaluate the second function

g(8) = 8 - 8

g(8) = 0