document.write( "Question 169921: Help, I just can't do it!\r
\n" ); document.write( "\n" ); document.write( "x is 3 years older than y
\n" ); document.write( "z is twice as old as X
\n" ); document.write( "4 years ago, x was twice as old as y
\n" ); document.write( " How old is x ?
\n" ); document.write( "

Algebra.Com's Answer #125358 by stanbon(75887)\"\" \"About 
You can put this solution on YOUR website!
x is 3 years older than y
\n" ); document.write( "z is twice as old as X
\n" ); document.write( "4 years ago, x was twice as old as y
\n" ); document.write( "How old is x ?
\n" ); document.write( "---------------------
\n" ); document.write( "When you have three variables, you often need three equations:
\n" ); document.write( "x = y+3
\n" ); document.write( "z = 2x
\n" ); document.write( "(x-4) = 2(y-4)
\n" ); document.write( "----------------
\n" ); document.write( "Rearrange:
\n" ); document.write( "x - y + 0 = 3
\n" ); document.write( "2x + 0 - z = 0
\n" ); document.write( "x -2y + 0 = -4
\n" ); document.write( "----------------------
\n" ); document.write( "Solve by any method to get:
\n" ); document.write( "x = 10
\n" ); document.write( "y = 7
\n" ); document.write( "z = 20
\n" ); document.write( "==================
\n" ); document.write( "Cheers,
\n" ); document.write( "Stan H.
\n" ); document.write( "
\n" );