Solve -313 - 257 = -29*x + 39 for x.
Solve this plz.

A: 21

Solve -23*z - 38 + 24 = -22*z for z.
Solve this plz.

A: -14

Solve -164*r - 2293 = 3141 + 142 for r.
Solve this plz.

A:
-34