Math problem: Solve -5011 - 1340 = -236*r + 6315 - 1338 for r.
What is the solution?
48