document.write( "Question 1050502: A contractor buys 20 yd^2 of nylon carpet and 28 yd^2 of wool carpet for $1300. A second purchase, at the same prices,
\n" ); document.write( "includes 15 yd^2 of nylon carpet and 20 yd^2 of wool carpet for $945. Find the cost per square yard of the wool carpet.
\n" ); document.write( "

Algebra.Com's Answer #666083 by LinnW(1048)\"\" \"About 
You can put this solution on YOUR website!
Let x be the price per yard for nylon carpet and
\n" ); document.write( "y be the price per yard for wool carpet.
\n" ); document.write( "20x + 28y = 1300
\n" ); document.write( "15x + 20y = 945
\n" ); document.write( "multiply the top equation by 3, and the bottom equation by -4
\n" ); document.write( "60x + 84y = 3900
\n" ); document.write( "-60x -80y = -3780
\n" ); document.write( "Add the equations
\n" ); document.write( "4y = 120
\n" ); document.write( "divide each side by 4
\n" ); document.write( "y = 30
\n" ); document.write( "Substitute 30 for y in 15x + 20y = 945
\n" ); document.write( "15x + 20(30) = 945
\n" ); document.write( "15x + 600 = 945
\n" ); document.write( "add -600 to each side
\n" ); document.write( "15x = 345
\n" ); document.write( "x = 23
\n" ); document.write( "So nylon carpet is $23.00 per \"%28yd%29%5E2\"
\n" ); document.write( "wool carpet is $30 per \"%28yd%29%5E2\"
\n" ); document.write( "
\n" );