Hi Waker!
Let's try to express the information we have in terms of equations.
Let's call m the number of moldavites, a the number of ambers, and t the number of amethysts. This becomes a set of 3 equations (number of stones, price, weight) and 3 unknowns.
- Number: we know there are 6 stones total. So m + a + t = 6 [1]
- Weight: 2 m + 5 a + 200 t = 222 [2]
- Price: 25 m + 20 a + 15 t = 120 [3]
Now let's try to combine those equations to simplify things a bit. There are many ways to do this. But for instance, let's subtract 2 times [1] from [2] so that the term in "m" disappears:
(2 - 2 * 1) m + (5 - 2 * 1) a + (200 - 2 * 1) t = 222 - 2 * 6
which leads to
3 a + 198 t = 210 [4]
We also know that a, m and t are integers (we only have whole stones), and we know none of the three is larger than 6 (we only have 6 stones), so [4] tells us what a and t are. t can only be 1. If t were zero, then we would have 3 a = 210, which is impossible since a can't be more than 6. If t were at least 2, then we would have 3 a + 396 = 210, and a would need to be negative, which is not possible.
So, t has to be 1, which means (from [4]) that a must be (210 - 198) / 3 = 4
Then, from [1], we get that m is 1 as well.
In short, there are 1 moldavite, 4 ambers, and 1 amethyst.