A two digit number, the sum of one digit number and ten digit number is 6. Exchange these two numbers, and the new number is 18 less than the original number. How much is the original number equal to?

A two digit number, the sum of one digit number and ten digit number is 6. Exchange these two numbers, and the new number is 18 less than the original number. How much is the original number equal to?

Let the number be ab
a+b=6
(10a+b)-(10b+a)=18
10a+b-10b-a=9(a-b)=18
a-b=2
a=4,b=2
The original number is 42