Given a system:
$$ \begin{cases} 5x - 3y = 0 \\ \text{lcm}(x, y) = 45 \end{cases} $$
Since, $5x=3y$, I've tried expressing product of $xy$ as:
$$ \text{lcm}(x,y)\gcd(x,y)=xy \\ \gcd(x,y)=\frac{xy}{\text{lcm}(x,y)} $$
I see that $x = 9$ and $y = 15$, I understand that we get it from dividing $\text{lcm}(x,y)$ which is 45 by coefficients, but I don't understand why.