J.R. S. answered 08/03/20
Ph.D. University Professor with 10+ years Tutoring Experience
Since the valence shell is n = 3 it is in Period 3. Since there are 4 valence electrons (2 in 3s and 2 in 3p) it is in Group 4A (14).
For 4s2 4p1, the valence shell in n = 4 so this is in Period 4 and there are 3 valence electrons putting it in group 3A (13)