To find the integer values of $c$ for which the equation $$20x+22y+cz = 315$$ has integer solutions $(x,y,z)$.
One observation is that $c$ has to be odd since $315$ is odd but $20x+22y$ is even.
If $y \neq 5$, then we must have $c$ such that $\gcd(22,c) = 1$, then we can find $z$ such that $5$ divides $22y+cz$ since we already have $315-20x$ is divisible by $5$.
Can some one give some hints how to proceed with the problem?