Let the digits be x and y.
Then, x+y = 9
the original number is 10x+y.
On reversing, we get the new number as 10y+x
The new number is greater than the old number by 27, i.e.
(10y+x) - (10x+y) = 27
or 9y-9x = 27, or y-x = 3
and x+y = 9
Adding the two equations, we get 2y = 12 or y = 6.
Thus, x = 3.
Therefore, the original number is 36.