Answer: Hund’s Rule
Explanation: According to Hund's rule, all orbitals will be singly occupied before any is doubly occupied. Therefore, two p orbital get one electron and one will have two electrons. Hund's rule also stipulates that all of the unpaired electrons must have the same spin.