Question: how many valence electrons are in an atom of phosphorus?
Answer: The highest-numbered shell is the third shell, which has 2 electrons in the 3s subshell and 3 electrons in the 3p subshell. That gives a total of 5 electrons, so neutral phosphorus atoms have 5 valence electrons.