document.write( "Question 658145: Diane is 29 years older than her daughter Amy. In 5 years Diane will be twice as old as Amy. How old are they now?\r
\n" ); document.write( "\n" ); document.write( "I have tried different ways to set up the equation and I am not getting the correct answer. I need help to see how to determine what the equation is. I tried 2(x+29)=5 for Diane and x+5 for Amy. It does not work. Please help.
\n" ); document.write( "

Algebra.Com's Answer #410176 by kevwill(135)\"\" \"About 
You can put this solution on YOUR website!
Let d = Diane's age and a = Amy's age. From the first sentence we have
\n" ); document.write( "d = a + 29
\n" ); document.write( "and from the second sentence we have:
\n" ); document.write( "d + 5 = 2*(a + 5)
\n" ); document.write( "Substituting the first equation into the second givs
\n" ); document.write( "(a + 29) + 5 = 2*(a + 5)
\n" ); document.write( "Expanding,
\n" ); document.write( "a + 34 = 2*a + 10
\n" ); document.write( "Subtract a from both sides:
\n" ); document.write( "a + 34 - a = 2*a + 10 - a
\n" ); document.write( "34 = a + 10
\n" ); document.write( "Reversing and subtracting 10 from each side:
\n" ); document.write( "a + 10 - 10 = 34 - 10
\n" ); document.write( "a = 24
\n" ); document.write( "So Amy is 24 and Diane is 53.
\n" ); document.write( "
\n" ); document.write( "
\n" );