document.write( "Question 449332: An old fashion country school room has double desks. If each student in the class sits at a different desk, there are 2 students without seats. If 2 students sit together at a double desk, there is one empty desk. How many students and how many desks are there in the class? \n" ); document.write( "
Algebra.Com's Answer #309170 by ankor@dixie-net.com(22740)\"\" \"About 
You can put this solution on YOUR website!
An old fashion country school room has double desks.
\n" ); document.write( " If each student in the class sits at a different desk, there are 2 students without seats.
\n" ); document.write( " If 2 students sit together at a double desk, there is one empty desk.
\n" ); document.write( " How many students and how many desks are there in the class?
\n" ); document.write( ":
\n" ); document.write( "Let s = number of students
\n" ); document.write( "Let d = number of desks
\n" ); document.write( ":
\n" ); document.write( "\"If each student in the class sits at a different desk, there are 2 students without seats.\"
\n" ); document.write( "therefore
\n" ); document.write( "s = d + 2
\n" ); document.write( ":
\n" ); document.write( "\" If 2 students sit together at a double desk, there is one empty desk.\"
\n" ); document.write( "s = 2(d-1)
\n" ); document.write( "s = 2d - 2
\n" ); document.write( "Replace s with (d+2) from the 1st statement
\n" ); document.write( "d + 2 = 2d - 2
\n" ); document.write( "2 + 2 = 2d - d
\n" ); document.write( "d = 4 desks
\n" ); document.write( "and
\n" ); document.write( "s = 4 + 2
\n" ); document.write( "s = 6 students
\n" ); document.write( ":
\n" ); document.write( "I'll let you check this in the two statements and see if it is true.
\n" ); document.write( "
\n" ); document.write( "
\n" );