Problem 728

Problem # 728

The acyl group is a protecting group for amines. Amines can be acylated using acetic anhydride, and deacylated with base.

Propose a mechanism for each reaction.