Respuesta :

By evaluating the piecewise function, we get:

g(-2) = 0.

g(4) = 4.

How to evaluate the piecewise function?

A piecewise function is a function that behaves differently in different parts of its domain.

Here, we first want to get g(-2). x = -2 belongs to the second domain, then we use that part:

g(-2) = 0.

For x = 4, it belongs to the third domain, then we have:

g(4) = 4.

If you want to learn more about piecewise functions:

https://brainly.com/question/3628123

#SPJ1