document.write( "Question 936722: Mr. Song is planning a party for his class and needs to buy candy and chips. Candy costs $5 per bag and chips cost $3 per bag. His total budget for the party is $50. Write and solve a linear equation to find how many bags of candy he can buy if he needs to buy 7 bags of chips. \n" ); document.write( "
Algebra.Com's Answer #570215 by 428225(90)\"\" \"About 
You can put this solution on YOUR website!
First, $5*7=$35
\n" ); document.write( "So from the $50 you take away $35 to be left with $15
\n" ); document.write( "-----
\n" ); document.write( "Now you make the linear equation
\n" ); document.write( "---
\n" ); document.write( "Let x be the unknown number of bags of chips that can be bought.
\n" ); document.write( "---
\n" ); document.write( "3(x)=15 (Divide by 3)
\n" ); document.write( "x=5
\n" ); document.write( "---
\n" ); document.write( "So the number of bags of chips that can be bought are 5.
\n" ); document.write( "---
\n" ); document.write( "Remember to read the question. When you give your answer you need to \"Write and solve a linear equation\". So don't just give an answer.
\n" ); document.write( "
\n" );