A restaurant has one type of milk that has 2% fat and another that has 7% fat. How many quarts of each type does the restaurant need to make 40 quarts of a milk mixture that is 5% fat?