document.write( "Question 840445: Pat is twice as old as Andrea. Eight years ago, she was ten times as old as Andrea. How old is each girl now? \n" ); document.write( "
Algebra.Com's Answer #506766 by hamsanash1981@gmail.com(151)\"\" \"About 
You can put this solution on YOUR website!
let Andrea's age be x and pat's age is 2x, Eight years ago their age is x-8 and 2x-8
\n" ); document.write( "Given that Pat's age = 10 andrea's age eight years ago.
\n" ); document.write( "then 2x-8 = 10 (x-8)
\n" ); document.write( "2x-8 = 10x -80
\n" ); document.write( "8x = 72
\n" ); document.write( "x = 9
\n" ); document.write( "2x =18
\n" ); document.write( "The girls is 9 years old.
\n" ); document.write( "
\n" );