I'm doing the following exercise and I don't know how to prove it.
Suppose $a,b \in \mathbb{Z}$, and $d=\gcd(a,b)$. I have to prove that if $x\equiv y \bmod d$, then the system
$$X\equiv x \mod a$$
$$X\equiv y \mod b$$
has a solution.
I don't even how to start...
Thanks for your help :)