A dairy needs 378 gallons of milk containing 6% butterfat. How many gallons each of milk containing 7% butterfat and milk containing 4% butterfat must be used to obtain the desired 378 gallons?