document.write( "Question 105651: One apt. is directly above second apt. Downstairs resident calls his upstairs neighbor and says;\"If one of you is willing to come downstairs, we'll have the same number of people in both apts.\" His neighbor responded with; \"Why don't one of you come up? Then we,ll have twice as many people up here as you have down there.\" How many people in each apt? I know the answers, but am having trouble setting it up into a system of linear equations. Can somebody please help me? Thank you so much in advance. \n" ); document.write( "
Algebra.Com's Answer #76885 by scott8148(6628)\"\" \"About 
You can put this solution on YOUR website!
If one of you is willing to come downstairs, we'll have the same number of people in both apts
\n" ); document.write( "... D+1=U-1\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Why don't one of you come up? Then we'll have twice as many people up here as you have down there
\n" ); document.write( "... 2(D-1)=U+1
\n" ); document.write( "
\n" );