Solve this math problem

Solve 575*r + 861*r + 2202 = 12254 for r.
7