I'm assuming you're solving for m.
Just plug in the n and solve for m!
for example,
m+3(-2)=7
m+3n=7;n=-2,0,1
3 answers
m+(-6)=7
13,7,10
3 answers