If a and b are two fixed integers this means the equations is a straight line where x values could be any number within (-∞,∞). So we can evaluate any two numbers to obtain a set of two different equations to solve the system for a and b. The number we will try are 0 and 1:
For 0 (Equation #1)

For 1 (Equation #2)

We can solve the system by replacing equation #1 in equation #2 like this:

Now we can replace the value of a in equation #1
