Answer :

z -5/7=-1

z=-1+5/7
z=-2/7