Suppose that $\mathbf{a}$ and $\mathbf{b}$ are relatively prime, and that $\mathbf{c}$ and $\mathbf{d}$ are relatively prime. Prove that $\mathbf{ac = bd}$ implies $\mathbf{a = d}$ and $\mathbf{b = c}$.
I'm a little stuck on this. I know that by definition $\mathbf{gcd(a,b) = 1}$ and $\mathbf{gcd(c,d) = 1}$ for $\mathbf{ a,b,c,d \in}$ $\Bbb{N}$.
Thus $$\mathbf{\alpha a + \beta b = 1}$$ $${ \alpha, \beta \in} \Bbb{Z}$$ and $$\mathbf{\gamma c + \delta d = 1 }$$ $${\gamma, \delta \in} \Bbb{Z}.$$
By manipulating these equations using the equality given, I've come up with the following equations: $$\mathbf{b(\alpha d + \beta c) = c}$$ $$\mathbf{a(\alpha d + \beta c) = d}$$ $$\mathbf{d(\gamma b + \delta a) = a}$$ $$\mathbf{c(\gamma b + \delta a) = b}$$
If I can show that $\mathbf{\alpha d + \beta c = 1}$ and $\mathbf{\gamma b + \delta a = 1}$ then I'll be done, but I'm not sure how to do this, or if this is even the best approach to prove the implication.