A hardware store mixes paints in a ratio of three parts blue to five parts red to make two gallons of cabbage red . A ratio of seven parts blue to one part red makes two gallons of eggplant purple . A gallon of cabbage red sells for $22 , and a gallon of eggplant purple sells for $26 . Find the cost of 1 quart of blue paint and the cost of 1 quart of red paint.