To solve this question, follow the steps below:
a) Find the function in which the x-value is defined
b) Substitute the function by the value of x and find f(x).
01. Finding g(0)
Since -2 < 0 < 2, let's use the second equation.
02. Finding g(2)
Since 2 ≥ 2, let's use the third equation.
04. Finding g(4)
Since 4 ≥ 2, let's use the third equation.
Answer: