What it boils down to is the following:
If $G$ is a group, and $x\in G$ is of order $n$, then $x^m$ is of order $x^{n/(m,n)}$.
This will prove that if $G$ is cyclic of order $m$, then $mG$ is cyclic of order $n/(m,n)$, hence $G/mG$ is of order $(m,n)$.
First, note that the order of $x^m$ divides $n/(m,n)$: because
$$m\left(\frac{n}{(m,n)}\right) = \frac{mn}{(m,n)} = [m,n] = \mathrm{lcm}(m,n)$$
is a multiple of $n$, so $(x^m)^{n/(m,n)} = 1$.
Conversely, to show that $n/(m,n)$ divides the order of $x^m$, let $d$ be the order of $x^m$. Then $1 = (x^m)^d = x^{md}$, so $n|md$. Dividing by the gcd of $m$ and $n$, we have that $n/(m,n)$ divides $md/(n,m)$. Since $n/(m,n)$ is relatively prime to $m/(n,m)$, it follows that $n/(m,n)$ divides $d$, as claimed.
Therefore, the order of $x^m$ is $n/(m,n)$, which proves the desired result.