Question
There were gold, black and silver balls in a container. Sean put another 6 gold balls and 4 silver balls in the container, then the ratio of the number of black balls to the number of silver balls became 4 : 3. Then, he doubled the number of gold balls and removed 21 silver balls. The ratio of the number of gold balls to black balls became 2 : 1. He counted and found that there were a total of 54 balls left in the container. Find the number of gold balls that he had at first.
5 m

Click button first when a symbol is required. X

There were gold, black and silver balls in a container. Sean put another 6 gold balls and 4 silver balls in the container, then the ratio of the number of black balls to the number of silver balls became 4 : 3. Then, he doubled the number of gold balls and removed 21 silver balls. The ratio of the number of gold balls to black balls became 2 : 1. He counted and found that there were a total of 54 balls left in the container. Find the number of gold balls that he had at first.