The ionization enthalpy of an element is the minimum amount of energy needed to remove the outermost electron from a gaseous neutral atom.
Given,
The relative position in a group: X is above the Y when the ionization energy decreases in the group downwards.
The relative position in a period: X is to the right side of Y when the ionization energy increases from left to right in a period.