I tried reading the answers on Product of Divisors of some $n$ proof and unfortunately couldn't understand them. The accepted answer mentions that
${\displaystyle\prod_\limits{d|n}{d^2}=\prod_\limits{d|n}{d\frac{n}{d}} = \prod_\limits{d|n}{n}=n^{d(n)} }$ where $d(n)$ gives the number of divisors of a number $n$ over $\mathbb N$,
which I assume proves something about the product of (every divisor of $n$ squared) being equal to $n^{d(n)}$. But I still don't get how this is related to the conclusion.