Question
There were yellow, brown and grey beads in a box. Sean put another 7 yellow beads and 9 grey beads in the box, then the ratio of the number of brown beads to the number of grey beads became 6 : 5. Then, he doubled the number of yellow beads and removed 15 grey beads. The ratio of the number of yellow beads to brown beads became 2 : 1. He counted and found that there were a total of 54 beads left in the box. Find the number of yellow beads that he had in the end.
5 m

Click button first when a symbol is required. X

There were yellow, brown and grey beads in a box. Sean put another 7 yellow beads and 9 grey beads in the box, then the ratio of the number of brown beads to the number of grey beads became 6 : 5. Then, he doubled the number of yellow beads and removed 15 grey beads. The ratio of the number of yellow beads to brown beads became 2 : 1. He counted and found that there were a total of 54 beads left in the box. Find the number of yellow beads that he had in the end.