document.write( "Question 1193738: Set up equations and solve.\r
\n" ); document.write( "\n" ); document.write( "You spent $125 on 90 snacks that include fruit and cookies. If fruit cost $2.50 each and cookies cost $1.25 each, how many of each did you buy? \r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #825926 by MathTherapy(10555)\"\" \"About 
You can put this solution on YOUR website!
Set up equations and solve.\r
\n" ); document.write( "\n" ); document.write( "You spent $125 on 90 snacks that include fruit and cookies. If fruit cost $2.50 each and cookies cost $1.25 each, how many of each did you buy?
\n" ); document.write( "
Let number of fruit and cookies, be F and C, respectively
\n" ); document.write( "Then we get: F + C = 90 ----- eq (i)
\n" ); document.write( "Also, 2.5F + 1.25C = 125 ---- eq (ii)
\n" ); document.write( " 2F + C = 100 ---- Factoring out GCF, 1.25 in eq (ii) ----- eq (iii)
\n" ); document.write( " F = 10 ----- Subtracting eq (i) from eq (iii)
\n" ); document.write( "Number of fruit purchased, or F = 10.
\n" ); document.write( "Now, it's easy to find number of cookies purchased. \n" ); document.write( "
\n" );