Exercise 8 | Carboxylic Acid Derivatives – Part 2

Propose a way to synthesize A and B from 1-chloro-3-methylbutane plus any other reagents containing at most three carbon atoms or inorganic reagents.