Question
There were pink, red and purple marbles in a container. Sean put another 6 pink marbles and 9 purple marbles in the container, then the ratio of the number of red marbles to the number of purple marbles became 5 : 3. Then, he doubled the number of pink marbles and removed 27 purple marbles. The ratio of the number of pink marbles to red marbles became 2 : 1. He counted and found that there were a total of 99 marbles left in the container. Find the number of pink marbles that he had in the end.
5 m

Click button first when a symbol is required. X

There were pink, red and purple marbles in a container. Sean put another 6 pink marbles and 9 purple marbles in the container, then the ratio of the number of red marbles to the number of purple marbles became 5 : 3. Then, he doubled the number of pink marbles and removed 27 purple marbles. The ratio of the number of pink marbles to red marbles became 2 : 1. He counted and found that there were a total of 99 marbles left in the container. Find the number of pink marbles that he had in the end.