I read that $(n \cdot 1)(m \cdot 1) = (nm) \cdot 1$ in a ring with unity $1$ because $\left(\underbrace{1+\cdots+1}_{n \textrm{ times}}\right)\left(\underbrace{1+\cdots+1}_{m \textrm{ times}}\right) = \underbrace{1+\cdots+1}_{nm \textrm{ times}}$ by the distributive law (of addition) of rings.
However, the left distributive law is $a \cdot (b+c) = (a \cdot b) + (a \cdot c)$ and the right distributive law is $(a+b) \cdot c = (a \cdot c) + (b \cdot c)$.
I don't understand how the equation above follows from either the left or the right distributive law. For instance, how is addition getting distributed (of course, $1$ above is not the same as the integer 1, but represents unity)? Thanks!
It’s easier to see if you temporarily abbreviate $n\cdot 1$ to $a$, say: then you have
$$a(\underbrace{1+\ldots+1}_m)=\underbrace{a+\ldots+a}_m$$
by repeated applications of the left distributive law. But
$$\begin{align*} \underbrace{a+\ldots+a}_m&=\underbrace{(\underbrace{1+\ldots+1}_n)+\ldots+(\underbrace{1+\ldots+1}_n)}_m\\ &=\underbrace{1+\ldots+1}_{nm}\;. \end{align*}$$
A really rigorous proof would proceed by a double induction on $m$ and $n$, but what’s going on is straightforward enough once you see it that the rigorous proof is a bit of overkill unless the point is to practise such arguments.