Linear Diophantine Equations

Many popular and well-known puzzles can be approached by setting up and solving equations.  Frequently, however, it will be necessary to find solutions which are not just any old real numbers, but integers. Here are two examples.