first of all thank you very much Mohit... this might be very silly but please bare with me and help me...

i understand,

, where a_{1},a_{2}, …, a_{k } sequence of integers

n_{1}, n_{2}, …, n_{k} are positive integers which are co prime, and x is a common factor (kind of)

but please help me understand how do i fit this concept to the problem stated...(sorry, this is the first time iam dealing with chinese remainder theorem... please help me)