document.write( "Question 636506: three years ago, Rica was thrice as old as Dandy. Three years hence, she will be twice as old. find their present ages. \n" ); document.write( "
Algebra.Com's Answer #401064 by sachi(548)\"\" \"About 
You can put this solution on YOUR website!
three years ago, Rica was thrice as old as Dandy. Three years hence, she will be twice as old. find their present ages.
\n" ); document.write( "ans:-
\n" ); document.write( "let Dandy is x yrs now ,so 3 yrs ago he was x-3 yrs
\n" ); document.write( "so rica was 3(x-3)yrs then
\n" ); document.write( "3yrs hence dandy will be x+3 & rica will be 3(x-3)+6
\n" ); document.write( "as per question 3(x-3)+6=2(x+3)
\n" ); document.write( "or 3x-9+6=2x+6
\n" ); document.write( "or x=9= dandy;s age now
\n" ); document.write( "& rica is 3(9-3)+3=21 yrs ans\r
\n" ); document.write( "\n" ); document.write( "otherwise
\n" ); document.write( "let dandy is x yrs & rics is y yrs now
\n" ); document.write( "three years ago y-3=3(x-3)
\n" ); document.write( "or 3x-y=6----------1
\n" ); document.write( "Three years hence y+3=2(x+3)
\n" ); document.write( "or 2x-y=-3 --------2
\n" ); document.write( "subtracting (2) from(1)
\n" ); document.write( "x=9
\n" ); document.write( "from (1) y=21 ans
\n" ); document.write( "
\n" );