Hello,

check this out, it will tell you how to find the number of solutions & the solutions of any linear congruence

Linear congruence theorem - Wikipedia, the free encyclopedia

The wiki article is not that shiny, so if this is not enough, google "Linear Congruence Theorem"