Write balanced molecular equations to illustrate the following characteristic reactions of acids, using nitric acid $\left(\mathrm{HNO}_3\right)$.
a. Reaction with water to form hydronium ions
b. Reaction with the solid oxide CaO
c. Reaction with the solid hydroxide $\mathrm{Mg}(\mathrm{OH})_2$
d. Reaction with the solid carbonate $\mathrm{CuCO}_3$
e. Reaction with the solid bicarbonate $\mathrm{KHCO}_3$
f. Reaction with Mg metal