Please help me with this question
Prove that for any integers $a$ and $b$, $$\mathrm{gcd}(a, b) = \mathrm{gcd}(a + bc, a + b(c − 1))$$
I tried to prove it but I didn't understand the part of $b(c-1)$
let $d=\mathrm{gcd} (a,b)$
$h=\mathrm{gcd}(a,btac)$
since $d= \mathrm{gcd}(a,b)\implies d|a\:\text{and}\: d|b$ and then $$ \begin{split} d|b\:\text{ and }\:d|ac & \implies d|b+ac\\ d|a\:\text{ and }\:d|b +d|ac & \implies d|h \end{split} $$
I assume the question should also say "for any integer $c$".
Clearly $\gcd(a,b)\mid a+cb$, because it divides each term separately, and similarly $\gcd(a,b)\mid a+(c-1)b$, so $\gcd(a,b)\mid\gcd(a+cb,a+(c-1)b)$.
Conversely, $\gcd(a+cb,a+(c-1)b)\mid (a+cb)-(a+(c-1)b)=b$. It therefore also divides $cb$ and hence divides $a+cb-cb=a$. So $\gcd(a+cb,a+(c-1)b)\mid\gcd(a,b)$.