Linear Equation
posted by Sara .
A gas station sells regular gas for $2.20 per gallon and premium gas for $2.70 a gallon. At the end of a business day 220 gallons of gas were sold and receipts totaled $519. How many gallons of each type of gas were sold?
I know its a linear equation. just cant find out how to put it in equation form..

Let x=number of gallons of regular sold
then 220x=number of gallons of premium sold
Total receipt:
2.20x+2.70(220x)=519
Solve for x.