This question was asked in How to find Valency?

Arrangement of electrons in the atom

gnyanavi's image