A hardware store mixes paints in a ratio of two parts red to six parts yellow to make two gallons of pumpkin orange. A ratio of five parts red to three parts yellow makes two gallons of pepper red. A gallon of pumpkin orange sells for 25 , and a gallon of pepper red sells for 28 . Find the cost of 1 quart of red paint and the cost of 1 quart of yellow paint.