Math problem: Solve 40*r = 84 - 364 for r.
What is the solution?
-7