In a lilac paint mixture, 40% of the mixture of white paint, 20% is blue, and the rest is red. There are 4 cups of blue paint used in a batch of lilac paint. How many cups of paint will this batch yield

w:b:r = 4:2:4 = 8:4:8

So, 8+4+8 = 20 cups of paint were used