Draw the major organic product for each of the two situations.
(a) Phenylacetic acid is treated first with Br2 and one equivalent of PBr3, then with a large excess of ethanol.
(b) Propionic acid is treated first with Br2 and one equivalent of PBr3, then with a large excess of ammonia.