Let $R$ be a principal ideal domain and $g, v, w \in R \setminus \{ 0 \}$, with $\text{gcd}(v, w) \simeq g$.
What needs to be proven is the following: If $a, b \in R$ with $av + bw \simeq g$, then $\text{gcd}(a, b) \simeq 1$.
My idea was to use Bézout's identity, since $R$ is a principal ideal domain, so there are $x, y \in R$ such that $g \simeq xv + yw \simeq av + bw$, but I do not see what to conclude from this, so if anybody could maybe give me a little nudge in the right direction, I would be very thankful.