document.write( "Question 855356: Greg is twice as old as Judy. Three years ago, Greg was 3 times as old as Judy was then. Find their current ages. \n" ); document.write( "
Algebra.Com's Answer #515296 by JulietG(1812)\"\" \"About 
You can put this solution on YOUR website!
G = 2J [Greg is twice as old as Judy.]
\n" ); document.write( "G - 3 = 3(J -3) [Three years ago, Greg was 3 times as old as Judy was then. ]
\n" ); document.write( ".
\n" ); document.write( "Substitute the value of G in the first equation into the second equation.
\n" ); document.write( "(2J) - 3 = 3(J-3)
\n" ); document.write( "Distribute
\n" ); document.write( "2J - 3 = 3J - 9
\n" ); document.write( "Subtract 2J from each side
\n" ); document.write( "-3 = J - 9
\n" ); document.write( "Add 9 to each side
\n" ); document.write( "6 = J
\n" ); document.write( ".
\n" ); document.write( "If Judy is 6, and Greg is twice her age, then Greg is 12.
\n" ); document.write( "Let's plug it into the second equation to make sure it's correct.
\n" ); document.write( "G - 3 = 3(J -3)
\n" ); document.write( "12 - 3 = 3(6-3)
\n" ); document.write( "9 = 3(3)
\n" ); document.write( "9 = 9
\n" ); document.write( "Success!
\n" ); document.write( "
\n" );