Answer:
From top to bottom:

Step-by-step 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:

Should be 21 boys because 7+7+7 equal 21 and 3+3+3 equal 9 which equals 30
It will be d cause all you doing is rearranging everything