We can write the question as a mathematical formula as follows: 1000 * 0.08 = m * 0.05 + c * 0.2 1000 = m + c where m are pints of milk and c are pints of cream So solving the first equation with m = 1000 - c 1000*0.08 = (1000-c)*0.05 + c*0.2 80 = 50 - 0.05c + 0.2c 80-50 = (0.2-0.05)*c 30 = 0.15*c c = 30/0.15 c = 200 m = 1000-200 = 800 So the dairy needs 800 pints of milk and 200 pints of cream