I have asked a similar question before on Chinese Remainder Theorem.
Now concepts are getting clear. Thinking of a possible case where there are no solutions. Suppose the question is
x ≡ 2 (mod 88)
x ≡ 3 (mod 99)
Then there will not be any solutions, correct?
Since 88 and 99 can be written as co-prime products 8*11 and 9*11,
x ≡ 2 (mod 8)
x ≡ 2 (mod 11)
x ≡ 3 (mod 9)
x ≡ 3 (mod 11)
x ≡ 2 (mod 11) and x ≡ 3 (mod 11) will not come together. hence there are no solutions.
Is this right? Your comments are really helpful for me