Let $\gcd(a,b,c)\mid e$ . Show that there exists integers $w,z$ such that $\gcd(a,b)w+cz=e$
Assume that $\gcd(a,b)=d$ then $a=dp,b=dq$.
Also there exists integers $m,n$ such that $am+nb=d$.
How to find integers $w,z$ such that $dw+cz=e$?
Can someone please give some hint?