document.write( "Question 451206: The ages of Ramesh and Rahim are in the ratio 5:7.If Ramesh were 9years older and Rahim 9years younger,the age of Ramesh would have been twice the age of Rahim find there ages. \n" ); document.write( "
Algebra.Com's Answer #310298 by lwsshak3(11628)\"\" \"About 
You can put this solution on YOUR website!
The ages of Ramesh and Rahim are in the ratio 5:7.If Ramesh were 9years older and Rahim 9years younger,the age of Ramesh would have been twice the age of Rahim find there ages.
\n" ); document.write( "..
\n" ); document.write( "let x=Age of Ramish
\n" ); document.write( "let y=Age of Rahim
\n" ); document.write( "x/y=5/7
\n" ); document.write( "5y=7x
\n" ); document.write( "y=7x/5
\n" ); document.write( "..
\n" ); document.write( "Ramish 9 years older=x+9
\n" ); document.write( "Rahim 9 years younger=y-9
\n" ); document.write( "(x+9)/(y-9)=2
\n" ); document.write( "x+9=2y-18
\n" ); document.write( "substitute y=7x/5
\n" ); document.write( "x+9=2(7x/5)-18
\n" ); document.write( "5x+45=14x-90
\n" ); document.write( "-9x=-135
\n" ); document.write( "x=15
\n" ); document.write( "y=7*15/5=21
\n" ); document.write( "ans:
\n" ); document.write( "Age of Ramish=15
\n" ); document.write( "Age of Rahim =21
\n" ); document.write( "
\n" );