The 3p orbital can hold a maximum of 6 electrons.
Each p subshell has 3 orbitals, and each orbital can hold 2 electrons, so 3×2=6.