The major product X formed in the following reaction sequence is [2024]

(3)
