document.write( "Question 322241: At Ed Gas, regular gas is $1.12 per gallon and ultra gas is $1.84 per gallon. If Ed Gas sold $128.80 worth of ultra, how many gallons of regular must be sold to have an average selling price of $1.518 per gallon? \n" ); document.write( "
Algebra.Com's Answer #230707 by mananth(16946)\"\" \"About 
You can put this solution on YOUR website!
At Ed Gas, regular gas is $1.12 per gallon
\n" ); document.write( "ultra gas is $1.84 per gallon. $128.80 worth of ultra was sold,
\n" ); document.write( "Let thenumber of gallons of regular to be sold be x to have an average selling price of $1.518 per gallon?
\n" ); document.write( "..
\n" ); document.write( "Ultra 128.80 : price = 1.84/gallon
\n" ); document.write( "Number of gallons of ultra = 128.80/1.84 = 70 gallons
\n" ); document.write( "..
\n" ); document.write( "Value of regular + value of ultra / number of gallons = average price
\n" ); document.write( "1.12x+128.80 /70+x= 1.518
\n" ); document.write( "1.12x+128.80 =(70+x)* 1.518
\n" ); document.write( "1.12x+128.80=1.518x+106.26
\n" ); document.write( "1.518x-1.12x=106.26-128.80
\n" ); document.write( "0.398x=22.54
\n" ); document.write( "=56.63 gallons of regular has to be sold
\n" ); document.write( "
\n" );