Worked solution from the The Periodic Table: chemical periodicity MCQ booklet.
X has a higher electrical conductivity than Y, and Y has a higher melting point than X.
B: Mg2Si. Mg is a metal, so it conducts well. Si is giant covalent with a much higher melting point than Mg. So X is Mg and Y is Si. This fits.
So the answer is B.
A (MgS): Y would be sulfur, which has a lower melting point than magnesium. C (NaCl): Y would be chlorine, a gas with a very low melting point. D (SiCl4): chlorine is again Y, with a low melting point.
▶ Whole paper
Video solution of the whole paper · by CHEMISTRY WITH SIR FARHAN KHAN. Tap the picture to open it on YouTube.
Solutions follow the official Cambridge mark schemes. Videos are from other YouTube channels. Paper codes read component / series / year: M/J = May/June, O/N = October/November. Past-paper questions © UCLES, reproduced for classroom practice.