Balance the equation for the following precipitation reaction, and then write the net ionic equation. Indicate the state of each species $(\mathrm{s}, \ell, \mathrm{aq}, \text { or } \mathrm{g})$
$$\mathrm{CdCl}_{2}+\mathrm{NaOH} \rightarrow \mathrm{Cd}(\mathrm{OH})_{2}+\mathrm{NaCl}$$