In the reaction sequence:

(X) will be
Know your College Admission Chances Based on your Rank/Percentile, Category and Home State.
Get your JEE Main Personalised Report with Top Predicted Colleges in JoSA
RMgX + CuCl
give 1,4 addition on conjugated diene