Element X has an electronic configuration of (2,8,2) and Element Y has an electronic configuration of (2,6).The compound formed by X and Y is covalent.