Solve this math problem

Solve 35 - 143 = -14*r + 17*r for r.
-36