Solve for r 2+r=7+6r