Final answer:
A gas station sells three types of gas: Regular for $2.90 a gallon, Performance Plus for $3.15 a gallon, the gallons of each type of gas were sold that day are:
Regular = 1400 gallons.
Performance plus = 700 gallons
Premium = 750 gallons
Step-by-step explanation:
To solve this problem, we can set up a system of equations.
Let's say the number of gallons of Regular gas sold is represented by R, the number of gallons of Performance Plus gas sold is represented by P, and the number of gallons of Premium gas sold is represented by Pm.
From the given information, we know that:
R + P + Pm = 4500 (equation 1)
2.9R + 3.15P + 3.4Pm = 13850 (equation 2)
We're also given that there were twice as many gallons of Regular gas sold as Premium gas, so R = 2Pm.
Substituting R = 2Pm into equation 1, we get:
2Pm + P + Pm = 4500
3Pm + P = 4500
Substituting R = 2Pm into equation 2, we get:
2.9(2Pm) + 3.15P + 3.4Pm = 13850
5.8Pm + 3.15P + 3.4Pm = 13850
8.2Pm + 3.15P = 13850
Now we have a system of equations to solve: 3Pm + P = 4500 and 8.2Pm + 3.15P = 13850.
Solving this system of equations, we find that Pm = 700 gallons, P = 750 gallons, and R = 1400 gallons.
So therefore Pm = 700 gallons, P = 750 gallons, and R = 1400 gallons.