document.write( "Question 350793: six years ago Jun was 4 times as old as Joan. In four years, he would be twice as old as Joan. How old are they now? \n" ); document.write( "
Algebra.Com's Answer #250783 by sudhanshu_kmr(1152)\"\" \"About 
You can put this solution on YOUR website!
Let present age of Jun and Joan are x and y respectively.
\n" ); document.write( " their ages six years ago: (x-6) and (y-6)
\n" ); document.write( " after four years : (x+4) and (y+4)\r
\n" ); document.write( "\n" ); document.write( "according to question
\n" ); document.write( " (x-6) = 4(y-6) ......(1)
\n" ); document.write( " and (x+4) = 2(y+4) ...(2) \r
\n" ); document.write( "\n" ); document.write( "using (1) we got, x-4y = -18
\n" ); document.write( " and using (2) we got x- 2y = 4
\n" ); document.write( "
\n" ); document.write( "after solving these two equations...
\n" ); document.write( " y = 22/2 = 11
\n" ); document.write( "
\n" ); document.write( " x = 4 + 2*11 = 26 \r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "so, Jun age is 26 years, Joan age is 11 years.
\n" ); document.write( "
\n" ); document.write( "
\n" );