First step of the reaction involves electrophilic addition of Br2inCH3OH to 2−methylbut−2−eneto form A which contains an ether linkage.
A, undergoes cleavage reaction with HI by SN1 mechanism to form B as the major product as shown in the reactions below





