Major product ‘P’ formed in the following reaction is: [2023]

(4)
