The compounds 'X' and 'Y' formed in the following reaction are

From the NSE 2019 · NSEC · Chemistry paper. Try it, check your answer, then read the worked solution below.
The compounds 'X' and 'Y' formed in the following reaction are

Try it yourself first, then check your working against this.
Worked solution
(S)-4-Hydroxypentanal cyclises in acid to a five-membered cyclic hemiacetal (5-methyloxolan-2-ol). The ring closure creates a new stereocentre at the anomeric carbon C1, which can be either configuration. C4 keeps its fixed (S) configuration.
X and Y are therefore two diastereomeric hemiacetals (anomers). Diastereomers have different physical and chemical properties.
(C)
Concepts used: cyclic hemiacetal, diastereomers
Every past question tagged to the same part of the syllabus, with solutions.
All NSE (Olympiad) questions on Aldehydes and Ketones · All NSE (Olympiad) questions on Isomerism
Past questions on the same topic (Nucleophilic addition), each with a worked solution.
Timed, in the real format, and marked the moment you submit.