document.write( "Question 956568: joshua is older than astrid. the difference of their age is 12 and the sum of their ages is 50. find the age of each. \n" ); document.write( "
Algebra.Com's Answer #584394 by macston(5194)\"\" \"About 
You can put this solution on YOUR website!
J=Joshua's age; A=Astrid's age
\n" ); document.write( "J-A=12
\n" ); document.write( "J=12+A
\n" ); document.write( "J+A=50 Substitute for J.
\n" ); document.write( "12+A+A=50 Subtract 12 from each side.
\n" ); document.write( "2A=38 Divide each side by 2.
\n" ); document.write( "A+19 ANSWER 1: Astrid is 19 years old.
\n" ); document.write( "J=12+A=12+19=31 ANSWER 2: Joshua is 31 years old.
\n" ); document.write( "CHECK:
\n" ); document.write( "J+A=50
\n" ); document.write( "31+19=50
\n" ); document.write( "50=50\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );