Solve for r g=-5r+13