document.write( "Question 588103: I am trying to write and solve a system of equation. THe question is 3 large popcorns and 2 small drinks cost $21.00 and another customer bought 2 large popcorns and 4 small drinks for $22.00. Find the cost of a large popcorn and the cost of a small drink. \n" ); document.write( "
Algebra.Com's Answer #374375 by stanbon(75887)\"\" \"About 
You can put this solution on YOUR website!
THe question is 3 large popcorns and 2 small drinks cost $21.00 and another customer bought 2 large popcorns and 4 small drinks for $22.00. Find the cost of a large popcorn and the cost of a small drink.
\n" ); document.write( "Equations:
\n" ); document.write( "3p + 2d = 21
\n" ); document.write( "2p + 4d = 22
\n" ); document.write( "-------------------
\n" ); document.write( "Multiply thru the 1st equation by 2 to get:
\n" ); document.write( "6p + 4d = 42
\n" ); document.write( "2p + 4d = 22
\n" ); document.write( "--------------------
\n" ); document.write( "Subtract and solve for \"p\":
\n" ); document.write( "4p = 20
\n" ); document.write( "p = $5.00 (cost of one large popcorn)
\n" ); document.write( "------
\n" ); document.write( "Solve for \"d\":
\n" ); document.write( "3p + 2d = 21
\n" ); document.write( "3*5 + 2d = 21
\n" ); document.write( "15 + 2d = 21
\n" ); document.write( "2d = 6
\n" ); document.write( "d = $3.00 (cost on one drink)
\n" ); document.write( "==========================
\n" ); document.write( "Cheers,
\n" ); document.write( "Stan H.
\n" ); document.write( "=====================
\n" ); document.write( "
\n" );