Answer:
Suppose that the batch has N liters of paint.
we know that the recipe is:
1/2 of red paint
1/3 of yellow paint
1/6 of white paint.
Then, out of the N liters, 1/2 is red.
This means that we must use:
N/2 liters of red paint.
And the same for the other two colors:
N/3 liters of yellow paint
N/6 liters of white paint.
When we add those 3, we have:
(N/2 + N/3 + N/6) = (3*N/6 + 2*N/6 + N/6) = N.
Now, if for example N = 2
Then the batch has 2 liters of paint, this would mean that we must use:
2/2 liters of red paint
2/3 liters of yellow paint
2/6 liters of white paint.