Answer:
From top to bottom:

Explanation:
We are given the piecewise function:

Row 1:
We want to find g(-2).
Since -2 is less than (or equal to) 2, we will use the first equation. Thus:

Row 2:
Likewise, 0 is less than or equal to 2. We will continue to use the first equation:

Row 3:
2 is not less than 2 but it is equal to 2. So we will continue to use the first equation:

Row 4 and 5:
Both 4 and 6 are greater than 2. Thus, we will use the second equation. Therefore:
