My professor presented the following proof and I am wondering if it makes sense. There is one piece of it that I do not quite grasp.
If $d|a$ and $d|b$ and $\displaystyle\gcd(\frac{a}{d}, \frac{b}{d})=1$ then $\gcd(a,b)=d$
Proof: We know that there are $x$ and $y$ such that $a=dx$ and $b=dy$. But since we are given $\displaystyle\gcd(\frac{a}{d}, \frac{b}{d})=1$ we have that $\gcd(x,y)=1$. Any common divisor of $a$ and $b$ that is greater than $d$ would have to be a common divisor of $x$ and $y$. But $x$ and $y$ have no common divisors greater than 1. So $\gcd(a,b)=d$.
//
It is not clear to me that the bolded statement above is true. If it is true then could someone verify that it is true and possibly elaborate on why it must be true.