document.write( "Question 145105: patrick is 3 years older than amy. in 5 years the sum if thier ages will be 31. how old are they now? \n" ); document.write( "
Algebra.Com's Answer #105800 by ptaylor(2198)\"\" \"About 
You can put this solution on YOUR website!
Let x=Amy's age
\n" ); document.write( "x+5=Amy's age in 5 years
\n" ); document.write( "x+3=Patrick's age
\n" ); document.write( "x+3+5=x+8=Patrick's age in five years\r
\n" ); document.write( "\n" ); document.write( "Now we are told the following:\r
\n" ); document.write( "\n" ); document.write( "x+5+x+8=31
\n" ); document.write( "2x+13=31 subtract 13 from each side
\n" ); document.write( "2x+13-13=31-13 collect like terms\r
\n" ); document.write( "\n" ); document.write( "2x=18 divide each side by 2\r
\n" ); document.write( "\n" ); document.write( "x=9------------------Amy's age
\n" ); document.write( "x+3=9+3=12---------------------Patrick's age\r
\n" ); document.write( "\n" ); document.write( "CK
\n" ); document.write( "(9+5)+(12+5)=31
\n" ); document.write( "14+17=31
\n" ); document.write( "31=31\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Hope this helps---ptaylor
\n" ); document.write( "
\n" );