Write the reaction and the corresponding $K_{\mathrm{b}}$ equilibrium expression for each of the following substances acting as bases in water.
a. aniline, $\mathrm{C}_{6} \mathrm{H}_{5} \mathrm{NH}_{2}$
b. dimethylamine, $\left(\mathrm{CH}_{3}\right)_{2} \mathrm{NH}$