A veterinarian mixes two types of animal feeds: type x and type y. Each unit of type x feeds costs p200 and contains 40 grams of fat, 20 grams of protein, and 1,100 calories. Each unit of type y feeds costs p180 and contains 60 grams of fat, 60 grams of protein, and 900 calories. Suppose the veterinarian wants each unit of the final product to yield at least 300 grams of fat, at most 240 grams of protein, and at most 9,600 calories. How many of each type of feeds should the veterinarian use to minimize the cost?