Proof. By definition, if a,b \in (\mathbb{Z}/n\mathbb{Z})^{\times}, then
\begin{align*} ac &= 1 \in \mathbb{Z}/n\mathbb{Z} \text{ for some } c \in \mathbb{Z}/n\mathbb{Z} \\ bd &= 1 \in \mathbb{Z}/n\mathbb{Z} \text{ for some } d \in \mathbb{Z}/n\mathbb{Z}. \end{align*}
\begin{align*} 1 = 1 \cdot 1 = ac \cdot bd = ab \cdot cd, cd \in \mathbb{Z}/n\mathbb{Z}, \end{align*}