document.write( "Question 170825: I have two secret numbers. Each has two digits. The secret numbers have the same digits, only reversed. The difference between the two numbers is 54, and the sum of the digits in each number is 10. What are my two secret numbers? \n" ); document.write( "
Algebra.Com's Answer #126121 by Mathtut(3670)\"\" \"About 
You can put this solution on YOUR website!
\r
\n" ); document.write( "\n" ); document.write( "lets call one number ab....which makes the other number ba
\n" ); document.write( ":
\n" ); document.write( "a two digit number is composed of tens and ones units so these can also be written as 10(a)+1(b) and 10(b)+1(a). We know the difference between the two is 54.
\n" ); document.write( ":
\n" ); document.write( "(10a+b)-(10b+a)=54...eq 1
\n" ); document.write( ":
\n" ); document.write( "10a-a+b-10b=54
\n" ); document.write( ":
\n" ); document.write( "\"9a-9b=54\"
\n" ); document.write( ":
\n" ); document.write( "we also know that a+b=10..eq 2...therefore a=10-b.....plug a's value into simplified eq 1
\n" ); document.write( ":
\n" ); document.write( "9(10-b)-9b=54---->90-9b-9b=54
\n" ); document.write( ":
\n" ); document.write( "-18b=--36
\n" ); document.write( ":
\n" ); document.write( "\"highlight%28b=2%29\" one digit
\n" ); document.write( "9a-9(2)=54 --->9a=72
\n" ); document.write( ":
\n" ); document.write( "\"highlight%28a=8%29\"2nd digit\r
\n" ); document.write( "\n" ); document.write( "secret numbers are\"system%2828%2C82%29\"
\n" ); document.write( "
\n" );