Notice that on the second step, we have the following:
in this case, the -2 is multiplying x-7, then to eliminate it, we have to divide by 2 both sides of the equation.
if we divide by -2, we have the following:
finally, if we add7 on both sides, we get:
therefore, x = 4