We are given only one or two equations, but constraints are there on variables such as the solutions must be integers, positive integers etc.
Eg. ax + by = c
Step 1: Find any single integer solution by trial and error. Let the solution be (x0, y0)
Step 2: For every b units x increases, y must decrease by a units (or vice-versa).
Step 3: Check the constraints