Reaction no.1
In a given reaction, the hydroxyl is acting as a Lewis base and the hydrogen bromide is acting as a Lewis acid giving the water and bromide as a product after reacting with each other.
(OH-) Lewis base + (HBr) Lewis acid----> (HOH) + (Br-)
Reaction no. 2
The following given reaction shows the nucleophilic and electrophilic attack reaction.
(OH-) nucleophile + (H3CBr) electrophile ----> (H3COH) +(Br-)