document.write( "Question 23767: My daugher and her friend are having a challenge solving the followin:\r
\n" ); document.write( "\n" ); document.write( "Johnstown High School is selling candy to raise money. M&M's sell for $1.50 per box and Reese's sell for $2 per box. Sheri sold a total of 50 boxes of candy. She collected $95.
\n" ); document.write( "Let x represent the number of boxes of M&M's
\n" ); document.write( "Let y represent the number of boxes of Reese's\r
\n" ); document.write( "\n" ); document.write( "Solve the system to determine how many of each type of candy did she sell?
\n" ); document.write( "

Algebra.Com's Answer #12534 by Paul(988)\"\" \"About 
You can put this solution on YOUR website!
x+y=50
\n" ); document.write( "y=50-x\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "1.50x+2.00y=95 (subsitute the known value)
\n" ); document.write( "1.50x+2(50-x)=95
\n" ); document.write( "1.50x+100-2x=95
\n" ); document.write( "-0.5x=-5
\n" ); document.write( "x = 10
\n" ); document.write( "Hence, she sold 10 boxes of M&Ms and 40 boxes of Reese.
\n" ); document.write( "
\n" ); document.write( "
\n" );