document.write( "Question 927444: A vendor sells hot dogs, bags of potato chips, and soft drinks. A customer buys 5 hot dogs, 2 bags of potato chips, and 4 soft drinks for $16.50. The price of hot dogs is $2.00 more than the price of a bag of potato chips. The cost of a soft drink is $4.25 less than the price of two hot dogs. Find the cost of each item. \n" ); document.write( "
Algebra.Com's Answer #562969 by Stitch(470)\"\" \"About 
You can put this solution on YOUR website!
Let A = Cost of hot dogs.
\n" ); document.write( "Let B = Cost of potato chips
\n" ); document.write( "Let C = Cost of a soft drink
\n" ); document.write( "------------------------
\n" ); document.write( "Equation 1:\"5A+%2B+2B+%2B+4C+=+16.5\" Customers order
\n" ); document.write( "Equation 2:\"A+-+2+=+B\" A hotdog is $2 more than a bag of chips
\n" ); document.write( "Equation 3: \"C+=+2A+-+4.25\" A soft drink is $4.25 less than 2 hot dogs
\n" ); document.write( "------------------------
\n" ); document.write( "Notice that all three equations contain an \"A\" variable.
\n" ); document.write( "I wrote the equations so that they were already written in terms of A.
\n" ); document.write( "Now plug (A-2) into equation 1 for B. Also use (2A - 4.25) for C
\n" ); document.write( "Equation 1:\"5A+%2B+2B+%2B+4C+=+16.5\"
\n" ); document.write( "\"5A+%2B+2%2A%28A-2%29+%2B+4%2A%282A+-+4.25%29+=+16.5\"
\n" ); document.write( "Simplify the equation
\n" ); document.write( "\"5A+%2B+2A+-+4+%2B+8A+-+17+=+16.5\"
\n" ); document.write( "Combine like terms
\n" ); document.write( "\"15A+-+21+=+16.5\"
\n" ); document.write( "Add 21 to both sides
\n" ); document.write( "\"15A+=+37.5\"
\n" ); document.write( "Divides both sides by 15
\n" ); document.write( "\"highlight%28A+=+2.5%29\"
\n" ); document.write( "--------------------------
\n" ); document.write( "Now plug 2.5 into equations 2 & 3 for \"A\" and solve.
\n" ); document.write( "Equation 2:\"A+-+2+=+B\"
\n" ); document.write( "\"%282.5%29+-+2+=+B\"
\n" ); document.write( "\"highlight_green%280.5+=+B%29\"
\n" ); document.write( "-------------------------
\n" ); document.write( "Equation 3: \"C+=+2A+-+4.25\"
\n" ); document.write( "\"C+=+2%2A%282.5%29+-+4.25\"
\n" ); document.write( "\"C+=+5+-+4.25\"
\n" ); document.write( "\"highlight%28C+=+0.75%29\"
\n" ); document.write( "
\n" );