document.write( "Question 998396: Alexander's car has a 16-gallon gas tank. Before filling his tank with gas, the gas gauge of his car indicates that g gallons of gas are in the tank. If gas costs $p per gallon and Alexander fills the tank to capacity, write an expression that represents how much Alexander paid for the gas. \n" ); document.write( "
Algebra.Com's Answer #616176 by Theo(13342)\"\" \"About 
You can put this solution on YOUR website!
gas costs p dollars per gallon.
\n" ); document.write( "the tank has a capacitgy of 16 gallons
\n" ); document.write( "the gas gauge reads g gallons.
\n" ); document.write( "the number of gallons need to fill the tank is 16 - g.
\n" ); document.write( "at p dollars per gallon, the total price is equal to p * (16 - g).\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "for example.
\n" ); document.write( "suppose g is 10 gallons and p is $1.00 a gallon.
\n" ); document.write( "the number of gallons required to fill the tank is 16 - 10 = 6.
\n" ); document.write( "6 * $1.00 per gallon is $6.00 dollars.
\n" ); document.write( "
\n" ); document.write( "
\n" );