document.write( "Question 971571: Jenny bought three cookies and two donuts. she paid $5.25. Jeff bought five cookies in three donuts for $8.25. how much did they pay for each item \n" ); document.write( "
Algebra.Com's Answer #594024 by amarjeeth123(570)\"\" \"About 
You can put this solution on YOUR website!
let the cost of each cookie be x $.
\n" ); document.write( "Let the cost of each donut be y $.
\n" ); document.write( "3x+2y=5.25..........equation 1
\n" ); document.write( "5x+3y=8.25..........equation 2
\n" ); document.write( "Multiplying equation 1 by 3 we get,
\n" ); document.write( "9x+6y=15.75.........equation 3
\n" ); document.write( "Multiplying equation 2 by 2 we get,
\n" ); document.write( "10x+6y=16.5.........equation 4
\n" ); document.write( "Subtracting equation 3 from equation 4 we get,
\n" ); document.write( "10x+6y-9x-6y=16.5-15.75
\n" ); document.write( "x=0.75
\n" ); document.write( "Substituting in equation 1 we get
\n" ); document.write( "2.25+2y=5.25
\n" ); document.write( "2y=3
\n" ); document.write( "y=1.5
\n" ); document.write( "The cost of a cookie is $0.75.
\n" ); document.write( "The cost of a donut is $1.50.
\n" ); document.write( "
\n" );