Solve the inequality for the variable r.