Which element is in the p block, has 6 valence electrons and is in period 3?