document.write( "Question 194419: The manager of a discount store received two clothing shipments. The first shipment contained 10 sweaters and 20 jackets and cost $800. The second shipment, at the same prices, contained 5 sweaters and 15 jackets and costs $550. Find the cost of 1 jacket \n" ); document.write( "
Algebra.Com's Answer #145905 by doukungfoo(195)\"\" \"About 
You can put this solution on YOUR website!
Lets start out by defining some variables.
\n" ); document.write( "we will call the price of the sweaters x
\n" ); document.write( "and the price of the jackets y
\n" ); document.write( "We are told that 10 sweaters and 20 jackets and cost $800
\n" ); document.write( "write this as an equation using the variables x and y
\n" ); document.write( "10x + 20y = 800\r
\n" ); document.write( "\n" ); document.write( "Now the next part of the problem tells us that 5 sweaters and 15 jackets and costs $550. So write this as an equation:
\n" ); document.write( "5x + 15y = 550\r
\n" ); document.write( "\n" ); document.write( "Ok so we have a system of equations
\n" ); document.write( "10x + 20y = 800
\n" ); document.write( "5x + 15y = 550\r
\n" ); document.write( "\n" ); document.write( "The problem ask us to find the cost of 1 jacket. We stated in the beginning that the price of a jacket is equal to y. So we need to solve for y.
\n" ); document.write( "start with the first equation and set it equal to x
\n" ); document.write( "10x + 20y = 800
\n" ); document.write( "10x = 800 -20y 'subtract 20y from both sides
\n" ); document.write( "x = 80 - 2y 'divide both sides by 10
\n" ); document.write( "Now since we have shown that x is equal to 80 - 2y we can substitute the x in the second equation with 80 - 2y\r
\n" ); document.write( "\n" ); document.write( "5x + 15y = 550
\n" ); document.write( "5(80 - 2y) + 15y = 550 'replace x with 80 - 2y
\n" ); document.write( "400 - 10y + 15y = 550 ' multiply 5 times 80 -2y
\n" ); document.write( "-10y + 15y = 150 'subtract 400 from both sides
\n" ); document.write( "5y = 150 'combine like terms
\n" ); document.write( "y = 30 'divide both sides by 5\r
\n" ); document.write( "\n" ); document.write( "so the cost of 1 jacket is $30.00
\n" ); document.write( "
\n" );