document.write( "Question 436378: raj says to shyam \"i was twice as old as you were when i was as old as you now. if the sum of their present ages is 50 years .find their present ages. \n" ); document.write( "
Algebra.Com's Answer #301915 by jorel1380(3719)\"\" \"About 
You can put this solution on YOUR website!
Let x equal raj's age,y equals shyam's. The difference between their ages now is (x-y). When x was y's age, he was twice as old as y was then. Now he is three times as old as y was then. So:
\n" ); document.write( "x-y=(1/3)x
\n" ); document.write( "3x-3y=x
\n" ); document.write( "2x=3y
\n" ); document.write( "x+y=50
\n" ); document.write( "2x+2y=100
\n" ); document.write( "3y+2y=100
\n" ); document.write( "5y=100
\n" ); document.write( "y=20
\n" ); document.write( "x=30.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );