Answer
8, -5
Work Step by Step
For $m-8=1$, I would add 8 to both sides. Adding 8 to both sides would give us $m-8+8=m$ on the left side. This would isolate the variable on one side.
For $-7=w+5$, I would add -5 to both sides. Adding -5 to both sides would give us $w+5-5=w$ on the right side. This would isolate the variable on one side.