There are some black and grey marbles in a container. If 2 black marbles are removed from the container, the total number of marbles left will be 8 times the number of black marbles left. If 2 grey marbles are removed from the container, the total number of marbles left will be 4 times the number of black marbles. How many marbles are there in the container?
|
Case 1 |
Case 2 |
|
Black marbles |
Grey marbles |
Black marbles |
Grey marbles |
Before |
1 u + 2 |
7 u |
1 p |
3 p + 2 |
Change |
- 2 |
|
|
- 2 |
After |
1 u |
7 u |
1 p |
3 p |
Number of grey marbles in the end for Case 1
= 8 u - 1 u
= 7 u
Number of black marbles in the end for Case 2
= 4 p - 1 p
= 3 p
The number of black marbles at first is the same for Case 1 and Case 2.
The number of grey marbles at first is also the same for Case 1 and Case 2.
1 u + 2 = 1 p --- (1)
7 u = 3 p + 2
7 u - 2 =
3 p --- (2)
Make p the same.
(1)
x3 3 u + 6 =
3 p --- (3)
(2) = (3)
7 u - 2 = 3 u + 6
7 u - 3 u = 6 + 2
4 u = 8
1 u = 8 ÷ 4 = 2
Number of marbles in the container
= (1 u + 2) + 7 u
= 8 u + 2
= (8 x 2) + 2
= 16 + 2
= 18
Answer(s): 18