I could not solve the following problem from the article.
Suppose that 40% of the eggs are painted blue, 5/13 of the eggs containing pearls are painted blue, and 20% of the eggs are both empty and painted red. What is the probability that an egg painted blue contains a pearl?
| blue | red |
--------|------|------|-----
pearls | | |
--------|------|------|-----
empty | | |
--------|------|------|-----
| | | 100
We know that 40% of the eggs are blue, so we fill in 40 at the bottom row in the blue column. We now also know that 60% are red. Similarly, 20% of eggs are empty & red, so we fill in 20 there. Now we can calculate that 60% - 20% = 40% are pearls & red:
Now we can answer the question: what is the probability that an egg painted blue contains a pearl? For every 40 blue eggs, 100/3 contain pearls. So the answer is 100/3/40 = 5/6.
It requires a little bit of indirection. You'll find that you could easily solve the equation if you only knew one more quantity. So call the unknown "X" and keep going. You'll be able to form an equation that constrains X to a single value.
FWIW, the answer I get has three non-zero decimal digits.