X-is alkali metal as it has large size, it's IE is less. After loss of one electron, it gets inert gas configuration. So its IE2 is very high. Y is alkaline earth metal. It's IE is more than alkali metal due to stable ns2 configuration. But its IE2 is lower than alkali metal.