In the above sequence of reactions, the major products X and Y are

From the KVPY 2009 · Streams SB/SX paper. Try it, check your answer, then read the worked solution below.
In the above sequence of reactions, the major products X and Y are

Try it yourself first, then check your working against this.
Worked solution
In a non-polar solvent (, low temperature) bromine monobrominates phenol, mainly at the less hindered para position: X is 4-bromophenol.
NaOH forms the phenoxide, which is methylated by methyl iodide (Williamson ether synthesis): Y is 4-bromoanisole.
(C)
Concepts used: monobromination of phenol in a non-polar solvent, Williamson ether synthesis
Every past question tagged to the same part of the syllabus, with solutions.
Past questions on the same topic (Phenols), each with a worked solution.
Timed, in the real format, and marked the moment you submit.