The 1:2 ratio is wrong. However lets suppose it is correct. This means for every liter that goes to the left, then 2 liters goes to the right.
If 500 liters goes to the left, then the remaining 500 liters goes to the right. Since an equal amount is going to each side, then the ratio would be 1:1 not 1:2.
Let's try the correct method. You start with 100l. At the first fork, 500 goes to the left and 500 goes to the right. At the 2nd fork, 250 goes to the left into container x and 250 goes to container y. The other 500 goes to container y. So how much went to container x? What is the ratio?