document.write( "Question 762239: my brother is two years younger than me. If I gave my sister two years she would be twice my age and if my sister gave my brother one year they would both the same age. How old is each of us? \n" ); document.write( "
Algebra.Com's Answer #463813 by josmiceli(19441)\"\" \"About 
You can put this solution on YOUR website!
Let \"+m+\" = my age
\n" ); document.write( "Let \"+b+\" = brother's age
\n" ); document.write( "Let \"+s+\" = sister's age
\n" ); document.write( "---------------------
\n" ); document.write( "Note that if I give my sister 2 years, I become \"+m+-+2+\"
\n" ); document.write( "and she becomes \"+s+%2B+2+\"
\n" ); document.write( "Also, if my sister gives brother 1 year, she becomes \"+s+-+1+\"
\n" ); document.write( "and he becomes \"+b+%2B+1+\"
\n" ); document.write( "given:
\n" ); document.write( "(1) \"+b+=+m+-+2+\"
\n" ); document.write( "(2) \"+s+%2B+2+=+2%2A%28+m+-+2+%29+\"
\n" ); document.write( "(3) \"+s+-+1+=+b+%2B+1+\"
\n" ); document.write( "-------------------
\n" ); document.write( "(3) \"+b+=+s+-+2+\"
\n" ); document.write( "Plug this into (1)
\n" ); document.write( "(1) \"+s+-+2+=+m+-+2+\"
\n" ); document.write( "(1) \"+s+=+m+\"
\n" ); document.write( "Plug this into (2)
\n" ); document.write( "(2) \"+m+%2B+2+=+2%2A%28+m+-+2+%29+\"
\n" ); document.write( "(2) \"+m+%2B+2+=+2m+-+4+\"
\n" ); document.write( "(2) \"+m+=+6+\"
\n" ); document.write( "and, since
\n" ); document.write( "(1) \"+s+=+m+\"
\n" ); document.write( "(1) \"+s+=+6+\"
\n" ); document.write( "also,
\n" ); document.write( "(3) \"+b+=+s+-+2+\"
\n" ); document.write( "(3) \"+b+=+4+\"
\n" ); document.write( "--------------
\n" ); document.write( "check:
\n" ); document.write( "My brother is two years younger than me.
\n" ); document.write( "OK
\n" ); document.write( "If I gave my sister two years she would be twice my age
\n" ); document.write( "\"+s+%2B+2+=+8+\"
\n" ); document.write( "\"+m+-+2+=+4+\"
\n" ); document.write( "OK
\n" ); document.write( "if my sister gave my brother one year they would both the same age
\n" ); document.write( "\"+6+-+1+=+5+\"
\n" ); document.write( "\"+4+%2B+1+=+5+\"
\n" ); document.write( "OK\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );