TeX source:
\begin{array}{rcccl} \log(c \cdot d)-\log(d) &=& \log(c) + \log(d) - \log(d) &=& \log(c) \end{array}