I got it this way...
List the possible combinations... (9,2)(8,3)(7,4)(6,5)
When we reverse the digit we end up subtracting each other.
Since the units in difference is five the only possible combination is (8,3) 8-3 alone yields 5.
Hence the number is 5