document.write( "Question 583512: John is twice as old as his friend Peter. Peter is 5 years older than Alice. In 5 years, John will be three times as old as Alice. How old is Peter now? \n" ); document.write( "
Algebra.Com's Answer #753418 by japcaranza(1)\"\" \"About 
You can put this solution on YOUR website!
John is twice as old as his friend Peter. Peter is 5 years older than Alice. In 5 years, John will be three times as old as Alice. How old is Peter now?\r
\n" ); document.write( "\n" ); document.write( "Let Alice's age = x
\n" ); document.write( "Peter = x+5
\n" ); document.write( "John = 2(x+5)\r
\n" ); document.write( "\n" ); document.write( "In 5 years\r
\n" ); document.write( "\n" ); document.write( "Alice's age = x +5
\n" ); document.write( "Peter = x+5+5
\n" ); document.write( "John = 2(x+5)+5\r
\n" ); document.write( "\n" ); document.write( "John will be three times as old as Alice
\n" ); document.write( "2(x+5)+5=3(x+5)
\n" ); document.write( "2x+15=3x+15
\n" ); document.write( "x=0\r
\n" ); document.write( "\n" ); document.write( "Alice is 0 years old now
\n" ); document.write( "Peter is 5
\n" ); document.write( "John is 10\r
\n" ); document.write( "\n" ); document.write( "In 5 years, John will be three times as old as Alice
\n" ); document.write( "Alice is 5 years old
\n" ); document.write( "John is 15 years old\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );