Identify the correct set of reagents or reaction conditions 'X' and 'Y' in the following set of transformation.

From the JEE Main 2024 · 4 Apr · Shift 1 paper. Try it, check your answer, then read the worked solution below.
Identify the correct set of reagents or reaction conditions 'X' and 'Y' in the following set of transformation.

Try it yourself first, then check your working against this.
Worked solution
Alcoholic NaOH at 80 °C eliminates HBr from 1-bromopropane (E2) to give propene; HBr in acetic acid, with no peroxide, then adds by Markovnikov's rule to give 2-bromopropane.
(B)
Concepts used: E2 then Markovnikov addition
Every past question tagged to the same part of the syllabus, with solutions.
All JEE Main questions on Haloalkanes and Haloarenes · All JEE Main questions on Hydrocarbons
Past questions on the same topic (Elimination reactions), each with a worked solution.
Timed, in the real format, and marked the moment you submit.