document.write( "Question 932133: One day a store sold 17 sweatshirts. White ones cost $9.95 and yellow ones cost $13.50.
\n" ); document.write( "In all, 211.75 worth of sweatshirts were sold. How many of each color were sold
\n" ); document.write( "

Algebra.Com's Answer #565988 by Stitch(470)\"\" \"About 
You can put this solution on YOUR website!
Let W = number of White shirts
\n" ); document.write( "Let Y = number of Yellow shirts\r
\n" ); document.write( "\n" ); document.write( "Since we have two variables, we need two equations.
\n" ); document.write( "Equation 1: \"W+%2B+Y+=+17\"
\n" ); document.write( "Equation 2: \"9.95W+%2B+13.5Y+=+211.75\"
\n" ); document.write( "---------------------------------------
\n" ); document.write( "Start by solving equation 1 for one of the variables
\n" ); document.write( "Equation 1: \"W+%2B+Y+=+17\"
\n" ); document.write( "\"W+=+17+-+Y\"
\n" ); document.write( "Plug (17-Y) into equation 2 for W
\n" ); document.write( "Equation 2: \"9.95W+%2B+13.5Y+=+211.75\"
\n" ); document.write( "\"9.95%2A%2817-Y%29+%2B+13.5Y+=+211.75\"
\n" ); document.write( "Simplify
\n" ); document.write( "\"169.15+-+9.95Y+%2B+13.5Y+=+211.75\"
\n" ); document.write( "Combine like terms
\n" ); document.write( "\"169.15+%2B+3.55Y+=+211.75\"
\n" ); document.write( "Subtract 169.15 from both sides
\n" ); document.write( "\"3.55Y+=+42.6\"
\n" ); document.write( "Divide both sides by 3.55
\n" ); document.write( "\"highlight%28Y+=+12%29\"
\n" ); document.write( "------------------------
\n" ); document.write( "Using Y=12, solve for W
\n" ); document.write( "\"W+=+17+-+Y\"
\n" ); document.write( "\"W+=+17+-+12\"
\n" ); document.write( "\"highlight_green%28W+=+5%29\"
\n" ); document.write( "
\n" );