An alcohol X $\mathrm{C_5H_{12}O}$ on dehydration gives Y (major product). Reaction of Y with HBr gave Z ($\mathrm{C_5H_{11}Br}$, major product). Z undergoes nucleophilic substitution in two steps. What are X and Y?
Show Hint
Dehydration of alcohols forms alkenes; subsequent addition of HBr gives bromoalkanes which can undergo substitution reactions.
The alcohol undergoes dehydration to give an alkene (Y), which reacts with HBr to give a bromoalkane (Z). Z then undergoes nucleophilic substitution in two steps. The correct structures correspond to option 2.