m+3n=7;n=-2,0,1
Write this as
m = 7 - 3*n
n = -2: m = 7 - 3*(-2) = 13
n = 0: m = 7 - 3*0 = 7
n = 1: m = 7 - 3*1 = 4