If $a \equiv b \mod m$, $a \equiv b \mod n$, and $\gcd(m,n)=1$, then $a \equiv b \mod mn$.
So I know that $mk=a-b$ and $nj=a-b$ for some $k,j \in \mathbb{Z}$ and that $\gcd(m,n)=1$ can be represented as $mx+ny=1$ for some $x,y \in \mathbb{Z}$.
I know to prove this I must end with an equation looking like this: $(mn)f=a-b$ for some $f \in \mathbb{Z}$.
I'm just not connecting something in the middle. Any help is appreciated.