Let x = tens digit and y = ones digit
Then, the number can be expressed as 10x + y (Example: 35 = 10(3) + 5)
x + y = 5
(10x+y) - 9 = 10y+x
x + y = 5
9x - 9y = 9
x + y = 5
x - y = 1
Add the equations to get 2x = 6
So, x = 3 and y = 2
The number is 32.