Worked solution from the The Periodic Table: chemical periodicity MCQ booklet.
We must find X and Y, then the formula of the compound they make.
X forms a soluble acidic oxide with X at +4. In Period 3 that is sulfur: SO2 dissolves in water to make H2SO3. Silicon is also +4 in SiO2, but SiO2 does not dissolve.
Y forms an amphoteric oxide. In Period 3 that is aluminium (Al2O3).
Al is Al3+ and sulfur is S2−. Cross over the charges to get Al2S3.
So the answer is B.
A (AlP) has no sulfur, and phosphorus in P4O10 is +5, not +4. C (Si2P5) and D (SiS2) use silicon, whose oxide is insoluble, and they contain no aluminium.
▶ Starts at Q12 (31:25)
Starts at Q12 (31:25) · by Lucid Mind. 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.