Solve this math problem

Solve -394*r - 1731*r - 174505 = -10880 for r.
-77