What is the solution?

Solve 6*r + r = -17*r + 44*r + 840 for r.
-42