document.write( "Question 195419: if Sam were twice as old as he is.he would be 40 years older than Jim. if Jim is 10 years younger than Sam, how ols is Sam? \n" ); document.write( "
Algebra.Com's Answer #146577 by ankor@dixie-net.com(22740)\"\" \"About 
You can put this solution on YOUR website!
if Sam were twice as old as he is.he would be 40 years older than Jim.
\n" ); document.write( " if Jim is 10 years younger than Sam, how old is Sam?
\n" ); document.write( ":
\n" ); document.write( "Let s = Sam's age now; Let j = Jim's age now
\n" ); document.write( "Write an equation for each statement:
\n" ); document.write( ":
\n" ); document.write( "\"if Sam were twice as old as he is, he would be 40 years older than Jim.\"
\n" ); document.write( "2s = j + 40
\n" ); document.write( ":
\n" ); document.write( "\"if Jim is 10 years younger than Sam,\"
\n" ); document.write( "j = s - 10
\n" ); document.write( ":
\n" ); document.write( " how old is Sam?
\n" ); document.write( "Substitute (s-10) for j in the 1st equation:
\n" ); document.write( "2s = (s-10) + 40
\n" ); document.write( ":
\n" ); document.write( "2s - s = 30
\n" ); document.write( ":
\n" ); document.write( "s = 30 yrs old is Sam's age
\n" ); document.write( ";
\n" ); document.write( ";
\n" ); document.write( "Check solution in the statement (j = 20):
\n" ); document.write( "\"if Sam were twice as old as he is.he would be 40 years older than Jim. \"
\n" ); document.write( "2(30) = 40 + 20
\n" ); document.write( "
\n" );