Worked solution from the Chemical reactions MCQ booklet.
X is pink and turns blue when heated, giving off water. Y is blue and turns pink when water is added.
This is a test for water using a cobalt compound. Cobalt(II) chloride is pink when hydrated and blue when anhydrous.
Heating X removes the water of crystallisation, so X is the hydrated form (pink) and the solid left is anhydrous (blue).
Adding water to Y (anhydrous, blue) turns it back to the hydrated pink form.
So X is hydrated cobalt(II) chloride and Y is anhydrous cobalt(II) chloride.
So the answer is B.
A swaps hydrated and anhydrous. C and D use copper(II) sulfate, which is blue when hydrated and white when anhydrous, so the colours do not fit.
▶ Topic lesson
A lesson on this topic · by FuseSchool - Global Education. 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.