Solve for: -42=5w-7

Expression: $-42=5w-7$

Move the variable to the left-hand side and change its sign

$-42-5w=-7$

Move the constant to the right-hand side and change its sign

$-5w=-7+42$

Calculate the sum

$-5w=35$

Divide both sides of the equation by $-5$

$w=-7$