I really appreciate someone can help for this question. Thank you.
Ricky had 260 more red marbles than blue marbles at first. After selling 1/7 of the blue marbles and 5/9 of the red marbles, he had an equal number of number of blue marbles and red marbles left. He then bought another 30 blue marbles. What was the ratio of the number of red marbles to the number of blue marbles Ricky had in the end? Express your answer in its simplest form.