document.write( "Question 938510: Ten rooms are rented at rates of $80 and $120 per night. The total collected for the ten rooms is $920.
\n" ); document.write( "a) Write a system of linear equations whose solution gives the number of each type of room rented. Be sure to state what each variable represents.\r
\n" ); document.write( "\n" ); document.write( "b) solve the system of equations.
\n" ); document.write( "

Algebra.Com's Answer #571778 by josmiceli(19441)\"\" \"About 
You can put this solution on YOUR website!
Let \"+x+\" = number of $80/night rooms rented
\n" ); document.write( "Let \"+y+\" = number of $120/night rooms rented
\n" ); document.write( "-------------------------------------------
\n" ); document.write( "(1) \"+x+%2B+y+=+10+\"
\n" ); document.write( "(2) \"+80x+%2B+120y+=+920+\"
\n" ); document.write( "------------------------
\n" ); document.write( "(2) \"+2x+%2B+3y+=+23+\"
\n" ); document.write( "Multiply both sides of (1) by \"+2+\"
\n" ); document.write( "and subtract (1) from (2)
\n" ); document.write( "(2) \"+2x+%2B+3y+=+23+\"
\n" ); document.write( "(1) \"+-2x+-+2y+=+-20+\"
\n" ); document.write( "----------------------
\n" ); document.write( "\"+y+=+3+\"
\n" ); document.write( "and
\n" ); document.write( "(1) \"+x+%2B+3+=+10+\"
\n" ); document.write( "(1) \"+x+=+7+\"
\n" ); document.write( "7 of the $80/night rooms are rented
\n" ); document.write( "3 of the $120/night rooms are rented
\n" ); document.write( "--------------------
\n" ); document.write( "check:
\n" ); document.write( "(2) \"+2%2A7+%2B+3%2A3+=+23+\"
\n" ); document.write( "(2) \"+14+%2B+9+=+23+\"
\n" ); document.write( "(2) \"+23+=+23+\"
\n" ); document.write( "OK\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );