document.write( "Question 1168001: Bob had enough money to buy 25 chocolate cookies. Each chocolate cookie cost as much as 2 butter cookies. He borrowed another 6 dollars to buy 20 chocolate and 20 butter cookies. \r
\n" ); document.write( "\n" ); document.write( "How much money did he have at first?\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #792594 by VFBundy(438)\"\" \"About 
You can put this solution on YOUR website!
Cost of one chocolate cookie = x
\n" ); document.write( "Cost of one butter cookie = 0.5x
\n" ); document.write( "
\n" ); document.write( "25x + 6 = 20x + 20(0.5x)
\n" ); document.write( "
\n" ); document.write( "25x + 6 = 20x + 10x
\n" ); document.write( "
\n" ); document.write( "25x + 6 = 30x
\n" ); document.write( "
\n" ); document.write( "5x = 6
\n" ); document.write( "
\n" ); document.write( "x = $1.20
\n" ); document.write( "
\n" ); document.write( "Since Bob originally had enough money to buy 25 chocolate cookies...and we know one chocolate cookie costs x dollars ($1.20)...that means 25 chocolate cookies cost $30. So, Bob originally had $30.
\n" ); document.write( "
\n" );