Variation of ionization potential value in a period: Ionization potential of elements is a periodic property. Generally in the periodic table with the increase of atomic number the ionization potential of elements increases in a period. No new electron orbit is added with the increase of atomic number in a period. Moreover with the increase of nuclear charge the atomic radius of elements decreases. So the outermost electron is more tightly held and more energy is needed to remove it. Hence in any period the ionization potential of group IA element is the lowest and that of Inert gas is the highest. In the stimulus, X. and Y are Nitrogen (N) and oxygen (O) respectively.
Ionization energy is dependent on the electronic configuration of an element. For this reason there is some deviations in the gradual increase of ionization potential of elements as one goes from left to right in a period. For example the l.p, of oxygen is less than that of nitrogen.
The Electronic configuration of the two elements,
O (8) = 1s2 2s2 2px2 2py1 2pz1
When one electron is removed from it, O+ ion is formed, whose electronic configuration is;
O (7) = 1s2 2s2 2px1 2py1 2pz1
Due to the exactly half filled 2p orbital, this configuration is relatively more stable and hence less energy than usual is needed to remove one electron twin oxygen atom; the first ionization potential of oxygen is relatively low.
On the other hand the electronic configuration of nitrogen is;
N(7) = 1s2 2s2 2px1 2py1 2pz1
which is relatively stable due to exactly half filled 2p orbital. Removal of one electron results to the breaking of this stable configuration. Hence relatively more energy is needed for the removal of one electron from nitrogen atom. So, the first ionization potential of nitrogen is higher than that of oxygen.