${\begin{eqnarray}{\bf Hint}\ \ \ &&(a,\quad\ (\ a,\ \ \ \ b)\ c) &=&\ (a,\ \ \ ac, \ \ \ \ \ bc) &=& ((a,\ \ \ ac),\ \ \ \ \ bc) &=&\ (a,\ \ \ bc)\\[.3em]
{\rm or}\ \ \ &&\ a\Bbb Z + (a\Bbb Z\!+\!b\Bbb Z)c &=&\ \ a\Bbb Z\!+\!ac\Bbb Z\!+\!bc\Bbb Z &=&\ (a\Bbb Z\!+\!ac\Bbb Z)\!+\!bc\Bbb Z&=&\ \ a\Bbb Z\!+\!bc\Bbb Z\end{eqnarray}}\,$
The first proof uses GCD laws (distributive, commutative, associative); the second uses Bezout.
Remark $\ $ The gcd arithmetic in the first proof can be made more intuitive by using a notation that exploits its analogy with ordinary integer arithmetic, viz. denote the gcd $\rm\:(a,b)\:$ by $\rm\ a \dot+ b,\ $ so
Lemma $\rm \ \ (ac,b) = ((a,b)c,b)\,\ [=\, (c,b)\ \ {\bf if}\ \ (a,b)=1]$
$\begin{align}\rm {\bf Proof}\ \ \ ((a,\,b)c,\ b) &\rm =\, (ac,\,bc,\,b) = (ac,\ b\color{#c00}{(c,\ 1)}) = (ac,b)\\[.3em]
\rm (a\dot+b)c\dot+b\ \:\! &\rm =\,\ ac\dot+bc\dot+b\, = \ \, ac\dot+b\color{#c00}{(c\dot+1)}\ =\ ac\dot+b \end{align}$
Because the arithmetic of GCDs shares many of the same basic laws of the arithmetic of integers, the proof becomes more intuitive using this notation that highlights this common arithmetical structure. The proof employs only said basic GCD laws, namely the associative law, and the commutative law, combined with the fundamental distributive law $\rm\, \ (ac,bc)\ =\ (a,b)\:c,\ $ and the GCD-specific law $\rm\: \color{#C00}{(1,c) = 1}.\ $ For a less trivial example see my similar proof of the Freshman's Dream $\rm\ (A,B)^n\, =\ (A^n,B^n)\ $ for GCDs and cancellable ideals.
The motivation behind this powerful abstract axiomatic approach becomes much clearer should you go on to study ideal theory and/or divisor theory (and you should, for there lies much beauty).
For further discussion and generalizations see this post and see my various posts on GCDs.