I am thinking that this is a variation of the Chinese Remainder Theorem as the iff qualifies that this set of equations is not exactly the definition of the Chinese Remainder Theorem, leading me to believe that this will indeed hold. However, I am not exactly sure how to start this off.
Again, the question is formalized as:
Given the gcd($a$, $b$) = 1, prove that
$$ x \equiv y\pmod a $$ $$ x \equiv y\pmod b $$
iff
$$ x \equiv y \space mod \space (ab) $$