Identify major product ‘P’ formed in the following reaction. [2024]

(2)
