A molecule of methyl 3-methylbut-2-enoate has the structure
It contains both an alkene group and an ester group. Describe the reactions of this molecule with each of the following reagents, stating the type of reaction and the functional group that reacts.
(a) bromine dissolved in an inert organic solvent at room temperature
(b) hot concentrated aqueous sodium hydroxide
(c) hydrogen in the presence of a nickel catalyst