what is -7w+8(w+1)=w-7
If you trying to find w, then no solution exists. In other words, the equation is FALSE the way it's written. Check you book carefully.
solve -7 w+8 (w+1) = w-7 for w