document.write( "Question 1065478: Susie needs ten treats for a party, so she decides to buy a combination of large Nutella-filled cookies and gourmet cupcakes.The cookies are $2.50 each and the cupcakes are $5. How many can she buy with $30? \n" ); document.write( "
Algebra.Com's Answer #680628 by josgarithmetic(39618)\"\" \"About 
You can put this solution on YOUR website!
If she wants to buy 10 of them, then 2 cupcakes and 8 Nutella cookies.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "x, the cookies
\n" ); document.write( "y, the cupcakes\r
\n" ); document.write( "\n" ); document.write( "\"system%28x%2By=10%2C2.5x%2B5y%3C=30%29\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The cost restriction equation simplifies to \"x%2B2y%3C=12\".\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"x%2By=10\"
\n" ); document.write( "\"x=10-y\"
\n" ); document.write( "Substitute:
\n" ); document.write( "\"10-y%2B2y%3C=12\"
\n" ); document.write( "\"10%2By%3C=12\"
\n" ); document.write( "\"y%3C=2\" and then \"x=8\".-----------Gives the desired 10 items.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "You can look for other combinations that could work.
\n" ); document.write( "
\n" );