I don't understand what a p2 valence electron meantI was thinking maybe it was a typo for 2p? I don't know.
No, it means two electrons in the p subshell, a p^2 valence electron configuration It can't be boron or aluminum, because they only have one p electron not 2, and boron isn't a metalSo you need to find the Group in the periodic table whose elements have two p valence electrons in their ground state, and run down that column until you hit a metallic element.