document.write( "Question 581846: The ratio of two numbers is 8 to 5. The difference of the numbers is 24. What are the numbers? \n" ); document.write( "
Algebra.Com's Answer #371827 by josmiceli(19441)\"\" \"About 
You can put this solution on YOUR website!
Call the numbers \"a\" and \"b\"
\n" ); document.write( "given:
\n" ); document.write( "\"+a%2Fb+=+8%2F5+\"
\n" ); document.write( "\"+a+-+b+=+24+\"
\n" ); document.write( "-----------
\n" ); document.write( "\"+a%2Fb+=+8%2F5+\"
\n" ); document.write( "\"+5a+=+8b+\"
\n" ); document.write( "\"+a+=+%288%2F5%29%2Ab+\"
\n" ); document.write( "\"+%288%2F5%29%2Ab+-+b+=+24+\"
\n" ); document.write( "\"+b%2A%28+8%2F5+-+5%2F5+%29+=+24+\"
\n" ); document.write( "\"+%283%2F5%29%2Ab+=+24+%7D%7D%0D%0A%7B%7B%7B+b+=+%285%2F3%29%2A24+\"
\n" ); document.write( "\"+b+=+40+\"
\n" ); document.write( "and
\n" ); document.write( "\"+a+-+b+=+24+\"
\n" ); document.write( "\"+a+-+40+=+24+\"
\n" ); document.write( "\"+a+=+64+\"
\n" ); document.write( "The numbers are 64 and 40
\n" ); document.write( "check:
\n" ); document.write( "\"+a%2Fb+=+8%2F5+\"
\n" ); document.write( "\"+64%2F40+=+8%2F5+\"
\n" ); document.write( "\"+5%2A64+=+8%2A40+\"
\n" ); document.write( "\"+320+=+320+\"
\n" ); document.write( "OK
\n" ); document.write( "
\n" );