The valence shell of an atom represents a band of energy levels and that the valence electrons are confined to…