Question
There were red, black and purple balls in a bottle. Sean put another 4 red balls and 6 purple balls in the bottle, then the ratio of the number of black balls to the number of purple balls became 5 : 3. Then, he doubled the number of red balls and removed 13 purple balls. The ratio of the number of red balls to black balls became 2 : 1. He counted and found that there were a total of 59 balls left in the bottle. 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, black and purple balls in a bottle. Sean put another 4 red balls and 6 purple balls in the bottle, then the ratio of the number of black balls to the number of purple balls became 5 : 3. Then, he doubled the number of red balls and removed 13 purple balls. The ratio of the number of red balls to black balls became 2 : 1. He counted and found that there were a total of 59 balls left in the bottle. Find the number of red balls that he had at first.