document.write( "Question 572769: Sally is 40 years older than her son Peter. In 5 years she will be twice his age. How old are Sally and Peter? Make two solutions, one using a variable for Sally and one for Peter. \n" ); document.write( "
Algebra.Com's Answer #368818 by mathsmiles(68)\"\" \"About 
You can put this solution on YOUR website!
I understand everything except the last sentence. I'm going to proceed anyway and hope this helps you.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Sally's age now = S
\n" ); document.write( "Peter's age now = P\r
\n" ); document.write( "\n" ); document.write( "Sally's age 5 years from now = S + 5
\n" ); document.write( "Peter's age 5 years from now = P + 5\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "We also know a few facts:
\n" ); document.write( "S = P + 40 Sally is 40 years older than Peter
\n" ); document.write( "(S+5) = 2(P+5)\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Let's use the first equation to substitute for Sally's age (S) in the second equation:
\n" ); document.write( "((P+40) + 5) = 2(P+5) Since the left side is all addition, we can remove the parens without a problem:
\n" ); document.write( "P + 40 + 5 = 2(P + 5)
\n" ); document.write( "P + 45 = 2(P + 5) Now multiply out the paren on the right:
\n" ); document.write( "P + 45 = 2P + 10 Subtract P from both sides:
\n" ); document.write( "45 = P + 10 Subtract 10 from both sides:
\n" ); document.write( "35 = P\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Peter is 35. Since Sally is 40 years older than Peter, she is 75.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Checking our answer:
\n" ); document.write( "In 5 years, she'll be twice his age:
\n" ); document.write( "Peter will be 35 + 5 = 40 in 5 years.
\n" ); document.write( "Sally will be 75 + 5 = 80 in 5 years
\n" ); document.write( "Sally will be twice Peter's age. Correct!
\n" ); document.write( "
\n" ); document.write( "
\n" );