[tex]\frac{z - 5}{7} = -1[/tex]
times both sides by 7 (to get rid of the 7 on the left)
[tex]z - 5 = -7[/tex]
Add 5 to both sides
[tex]z = -7 + 5 = -2[/tex]