From the classical Chinese remainder theorem on rings{concerning ideals}(one can see Dummit &foote for the theorem) How to Prove that

1)Let a & b be two relatively prime integers in Z.Let c & d be any two arbitrary integers.The there exits an integer x such that x=c(mod a) & x=d(mod b) & this x is unique upto (mod ab)