document.write( "Question 998051: sum of ages is 40 of two person after 10 year the age of person is twice the age of other person \n" ); document.write( "
Algebra.Com's Answer #615978 by fractalier(6550)\"\" \"About 
You can put this solution on YOUR website!
Call their ages now x and y.
\n" ); document.write( "Thus x + y = 40 or x = 40 - y
\n" ); document.write( "x + 10 = 2(y + 10)
\n" ); document.write( "Now substitute
\n" ); document.write( "40 - y + 10 = 2y + 20
\n" ); document.write( "50 - y = 2y + 20
\n" ); document.write( "30 = 3y
\n" ); document.write( "y = 10
\n" ); document.write( "x = 30
\n" ); document.write( "
\n" );