Write down the solution for this math problem: Solve 12274 = 740*r + 4874 for r.
10