Let $R$ be UFD and denote. Show that if If c|a and c|b then $cgcd(a/c, b/c)=gcd(a, b)$.
My attempt.
Let $gcd(\frac{a}{c},\frac{b}{c})=d$. First need to show $(a,b) \subset (cd)$. This is clear since if $x \in (a,b)$ then; $$x=ar+bs=c(a/c)t+c(b/c)s$$
and since $d$ divides both $a/c$ and $b/c$ we are done.
Now need to show that if $(u)$ is another princ. ideal with $(a,b) \subset (u)$ then $(cd) \subset (u)$.
this is also immediate since if $y \in (cd)$ then for some $s,t \in R$ we have $(a/c)v + (b/c)w=d$ and ; $$y=cdr=c[(a/c)v + (b/c)w]r=avr+bwr$$. Which seems to show $(a,b)=(cd)$ but this can't possibly be true;