A gas station sells three types of gas: regular for 2.85 a gallon, performance plus for3.00 a gallon, and premium for 3.15 a gallon. On a particular day, 5300 gallons of gas were sold for a total of15,540. Three times as many gallons of regular as premium gas were sold. How many gallons of each type of gas were sold that day?