If it has solution.

You can ignore one of the variables for now and work with the other two. Use the general approach to solving first order linear diophantine equations to get the general solution now extend to the third variable. (It is not so nice).2) What would be a general method of finding a solution if one exists?