$$ \begin{aligned} 57 &= -10z+7&& \text{ swap the left and right side of the equation } \\[1 em]-10z+7 &= 57&& \text{ move 7 to the right } \\[1 em]-10z &= 57-7&& \\[1 em]-10z &= 50&& \text{ divide both sides by $ -10 $ } \\[1 em]z &= -\frac{50}{10}&& \\[1 em]z &= -5&& \\[1 em] \end{aligned} $$