X and Y are the starting elements in 3rd and 4th periods
Thus they are X=Na⇒ sodium
Y=K⇒ potassium
Density of potassium is less than sodium Reason:
Density= mass/ volume
Density∞ mass and density ∞ 1/volume
Basically in case of potassium, the increase in shell size outweighs the pull of the core on the outermost electron and so potassium is less dense than sodium. When we move from sodium to potassium, effect of the increase in the volume is more pronounced as compared to effect of the increase in the atomic mass.