document.write( "Question 1157291: The students are doing a fundraiser to help out a friend. They are selling chocolate and cookies for $3 and $2.50 respectively. The cookies were presold to 60 people. At least how many of the chocolates must be sold to collect $255? \n" ); document.write( "
Algebra.Com's Answer #780144 by MathLover1(20850)\"\" \"About 
You can put this solution on YOUR website!

\n" ); document.write( "let the number of chocolate sold be \"x\" and cookies \"y\"
\n" ); document.write( "if they are selling chocolate for $\"3\" and cookies for $\"2.50\", they will earn
\n" ); document.write( "$\"3x%2B2.50y\"\r
\n" ); document.write( "\n" ); document.write( "to collect $\"255\", they need to sell \r
\n" ); document.write( "\n" ); document.write( "\"3x%2B2.50y=255\"\r
\n" ); document.write( "\n" ); document.write( "if the cookies were pre-sold to \"60\" people, means \"y=60\"\r
\n" ); document.write( "\n" ); document.write( "\"3x%2B2.50%2A60=255\"\r
\n" ); document.write( "\n" ); document.write( "\"3x%2B150=255\"\r
\n" ); document.write( "\n" ); document.write( "\"3x=255-150\"\r
\n" ); document.write( "\n" ); document.write( "\"3x=105\"\r
\n" ); document.write( "\n" ); document.write( "\"x=35\"\r
\n" ); document.write( "\n" ); document.write( "At least \"35\" of the chocolates must be sold \r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );