document.write( "Question 431347: Hello- I have a math problem that wants me to write a linear equation... The story problem says that somebody want to the dog store to buy treats for their two dogs. One of the treats are 2.00 and the second treats are 4.50. The lady spent 70.00 total on the treats for a total of 25 treats and it asks me to figure out how many of each that she bought. Originally I had one equation that read: 70.00=2x+4.5y. After trying to solve it and failing I started to wonder if I needed to come up with two seperate equations and I believe that I should also have the number 25 in there too since i'm trying to find out how many of each pieces she bought... \n" ); document.write( "
Algebra.Com's Answer #299377 by mananth(16946)\"\" \"About 
You can put this solution on YOUR website!
Treat I x Numbers
\n" ); document.write( "Treat II-- y Numbers
\n" ); document.write( "x+y=25 .............1
\n" ); document.write( "2x+4.5y =70.............2
\n" ); document.write( "Eliminate y
\n" ); document.write( "multiply (1)by -4.5
\n" ); document.write( "Multiply (2) by 1
\n" ); document.write( "-4.5x-4.5y=-112.5
\n" ); document.write( "2x+4.5y=70
\n" ); document.write( "Add the two equations
\n" ); document.write( "-2.5x=-42.5
\n" ); document.write( "/-2.5
\n" ); document.write( "x=17 Treat I
\n" ); document.write( "plug value of x in (1)
\n" ); document.write( "x+y=25
\n" ); document.write( "17+y=25
\n" ); document.write( "y=25-17
\n" ); document.write( "y=8
\n" ); document.write( "y=8 Treat II
\n" ); document.write( "
\n" ); document.write( "
\n" );