Answer
Please see the work below.
Work Step by Step
The total number of electrons in each orbital can be calculated using the formula $2\times(2l + 1)$.
The s orbital has an $l$ value = 0.
Therefore, the total number of electrons that can be accommodated = $2\times(2 \times 0 + 1) = 2$ .
The p orbital has an $l$ value = 1 [There are three degenerate p orbitals].
Therefore, the total number of electrons that can be accommodated = $2\times(2 \times 1 + 1) = 6 $.
The d orbital has $l$ value = 2 [There are five degenerate d orbitals].
Therefore, the total number of electrons that can be accommodated = $2\times(2 \times 2 + 1) = 10 $.