document.write( "Question 1131850: At a candy store, Erika bought 3 kilograms of cinnamon red hots and 1 kilogram of gummy bears for $21.00. Meanwhile, Irene bought 3 kilograms of cinnamon red hots and 3 kilograms of gummy bears for $39.00. What is the cost of one kilogram of each type of candy?\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #748538 by stanbon(75887)\"\" \"About 
You can put this solution on YOUR website!
At a candy store, Erika bought 3 kilograms of cinnamon red hots and 1 kilogram of gummy bears for $21.00. Meanwhile, Irene bought 3 kilograms of cinnamon red hots and 3 kilograms of gummy bears for $39.00. What is the cost of one kilogram of each type of candy?
\n" ); document.write( "-------------------
\n" ); document.write( "Equations:
\n" ); document.write( "3r + 1g = 21.00
\n" ); document.write( "3r + 3g= 39.00
\n" ); document.write( "-------------------
\n" ); document.write( "Subtract and solve for \"g\"::
\n" ); document.write( "2g = 2.00
\n" ); document.write( "g = $1.00/kg (gummy bear cost)
\n" ); document.write( "---------
\n" ); document.write( "Solve for \"r\":
\n" ); document.write( "3r + g = 21
\n" ); document.write( "3r + 1 = 21
\n" ); document.write( "r = $20/3 = $6.67/kg (red hot oost)
\n" ); document.write( "Cheers,
\n" ); document.write( "Stan H.
\n" ); document.write( "
\n" );