Question: how many valence electrons do phosphorus have?
Answer: Phosphorus is in group VA so it has 5 valence electrons and Oxygen is in group VIA so each oxygen has 6 valence electrons. Total valence electrons = 5 + 4(6) = 29.