atomic number = number of protons
number of protons = number of electrons
So, number of electrons = 5
So, electron configuration = 2, 3
So, its valency = 3