Question
There were brown, purple and white marbles in a container. Sean put another 5 brown marbles and 4 white marbles in the container, then the ratio of the number of purple marbles to the number of white marbles became 5 : 3. Then, he doubled the number of brown marbles and removed 27 white marbles. The ratio of the number of brown marbles to purple marbles became 2 : 1. He counted and found that there were a total of 27 marbles left in the container. Find the number of brown marbles that he had at first.
5 m

Click button first when a symbol is required. X

There were brown, purple and white marbles in a container. Sean put another 5 brown marbles and 4 white marbles in the container, then the ratio of the number of purple marbles to the number of white marbles became 5 : 3. Then, he doubled the number of brown marbles and removed 27 white marbles. The ratio of the number of brown marbles to purple marbles became 2 : 1. He counted and found that there were a total of 27 marbles left in the container. Find the number of brown marbles that he had at first.