In the following series of reactions identify the major products A & B respectively. [2025]

(2)
