document.write( "Question 935940: there are 53 students accomodation in 21 rooms of a youth hostle. each room has either 2 or 3 beds. assuming that each student sleeps in one bed only and that every bed is used, find out how many rooms with 2 beds and how many rooms with 3 beds are there.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "(Hint let x represent the number of rooms with 2 beds and let y represent the number of rooms with 3 beds)\r
\n" ); document.write( "\n" ); document.write( "Please give a full detailed answer.
\n" ); document.write( "

Algebra.Com's Answer #569333 by josmiceli(19441)\"\" \"About 
You can put this solution on YOUR website!
(1) \"+x+%2B+y+=+21+\"
\n" ); document.write( "(2) \"+2x+%2B+3y+=+53+\"
\n" ); document.write( "---------------------
\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+=+53+\"
\n" ); document.write( "(1) \"+-2x+-+2y+=+-42+\"
\n" ); document.write( "---------------------
\n" ); document.write( "\"+y+=+11+\"
\n" ); document.write( "and
\n" ); document.write( "(1) \"+x+%2B+y+=+21+\"
\n" ); document.write( "(1) \"+x+%2B+11+=+21+\"
\n" ); document.write( "(1) \"+x+=+10+\"
\n" ); document.write( "----------------
\n" ); document.write( "There are 10 rooms with 2 beds
\n" ); document.write( "There are 11 rooms with 3 beds
\n" ); document.write( "----------------
\n" ); document.write( "check:
\n" ); document.write( "(2) \"+2x+%2B+3y+=+53+\"
\n" ); document.write( "(2) \"+2%2A10+%2B+3%2A11+=+53+\"
\n" ); document.write( "(2) \"+20+%2B+33+=+53+\"
\n" ); document.write( "(2) \"+53+=+53+\"
\n" ); document.write( "OK
\n" ); document.write( "
\n" ); document.write( "
\n" );