Solve this math problem

Solve 1786 + 76 + 618 = -80*r for r.
-31