document.write( "Question 271597: The total cost of 10 gallons of regular gasoline and 15 gallons of premium gasoline is $32.75. Premium costs $.20 more per gallon than regular. What is the cost of gallon of each type of gasoline? \n" ); document.write( "
Algebra.Com's Answer #198804 by stanbon(75887)\"\" \"About 
You can put this solution on YOUR website!
The total cost of 10 gallons of regular gasoline and 15 gallons of premium gasoline is $32.75. Premium costs $.20 more per gallon than regular. What is the cost of gallon of each type of gasoline?
\n" ); document.write( "--------------------
\n" ); document.write( "Equations:
\n" ); document.write( "10r + 15p = 32.75
\n" ); document.write( "p = r + 0.20
\n" ); document.write( "-------------------
\n" ); document.write( "Substitute for \"p\" and solve for \"r\":
\n" ); document.write( "10r + 15(r+0.20) = 32.75
\n" ); document.write( "10r + 15r + 2 = 32.75
\n" ); document.write( "25r = 30.75
\n" ); document.write( "r = $1.23 (price of regular)
\n" ); document.write( "---
\n" ); document.write( "p = r+0.20
\n" ); document.write( "p = $1.43
\n" ); document.write( "==================
\n" ); document.write( "Cheers,
\n" ); document.write( "Stan H.
\n" ); document.write( "
\n" );