Let $m,n\in\mathbb{N}$ with $\gcd(m,n)=1$ and $q\in\mathbb{N}$ such that $q|mn$. Then there exists $d,e\in\mathbb{N}$ such that $q=de$, $d|m$, $e|n$, $\gcd(d,e)=1$ and $\gcd(\frac{m}{d},\frac{n}{e})=1$.
I am trying to prove the above claim but can only go as far as this:
As $q\in\mathbb{N}$, then there exists $d,e\in\mathbb{N}$ such that $q=de$. As $q|mn$, then there exists $x\in\mathbb{N}$ such that $mn=qx$. But $q=de$, so $mn=x(de)$. Since $mn=d(ex)=e(dx)$, then $d|mn$ and $e|mn$.
I even don't know if I'm going about it the right way. Some help would be greatly appreciated thank you.