Got across this question and haven't figured out how to solve it:
Given two integers $a,b$ such that
- $a$ is even.
- $8a+15b=7$.
- $a-b=0 \pmod{7}$.
Find the GCD $(2a+4b,2a+8b)$. The answer is 28.
In my attempts I have tried to simplify on variable with the last fact
$a=7n+b$
$8(7n+b) +15b=7$
$2b=0 \pmod 7$
$b=0 \pmod 7$
and after that I have tried to imply Euclid's algorithm to find the GCD with no success.