Question
There were red, brown and pink balls in a jar. Sean put another 2 red balls and 13 pink balls in the jar, then the ratio of the number of brown balls to the number of pink balls became 5 : 3. Then, he doubled the number of red balls and removed 22 pink balls. The ratio of the number of red balls to brown balls became 2 : 1. He counted and found that there were a total of 50 balls left in the jar. Find the number of red balls that he had at first.
5 m

Click button first when a symbol is required. X

There were red, brown and pink balls in a jar. Sean put another 2 red balls and 13 pink balls in the jar, then the ratio of the number of brown balls to the number of pink balls became 5 : 3. Then, he doubled the number of red balls and removed 22 pink balls. The ratio of the number of red balls to brown balls became 2 : 1. He counted and found that there were a total of 50 balls left in the jar. Find the number of red balls that he had at first.