document.write( "Question 294260: For a wedding, Shereda bought several dozen roses and several dozen carnations. The roses cost $15 per dozen, and the carnations cost $8 per dozen. Shereda bought a total of 17 dozen flowers and paid a total of $192. How many roses did she buy? \n" ); document.write( "
Algebra.Com's Answer #212238 by blwinbbbles(106)\"\" \"About 
You can put this solution on YOUR website!
So we have two equations: r = roses c= carnations
\n" ); document.write( "1) r + c = 17
\n" ); document.write( "2) 15r + 8c = 192\r
\n" ); document.write( "\n" ); document.write( "Use substitution: so take equation 1 subtract r from both sides and make it
\n" ); document.write( "c = 17 - r Now sub it into equation 2\r
\n" ); document.write( "\n" ); document.write( "15r + 8(17-r) = 192
\n" ); document.write( "15r + 136 - 8r = 192
\n" ); document.write( "7r + 136 = 192 subtract 136 from both sides
\n" ); document.write( "7r = 56 divide by 7
\n" ); document.write( "r = 8 now use r = 8 in equation 1\r
\n" ); document.write( "\n" ); document.write( "8 + c = 17
\n" ); document.write( "c = 9\r
\n" ); document.write( "\n" ); document.write( "so you will have 8 dozen roses and 9 dozen carnations
\n" ); document.write( "
\n" );