Let X and Y be the digits.
If a two-digit number is written XY, then its value is 10x+y.
When the digits of the number are interchanged, it's YX, and its value is 10y+x.
The sum of the digits is 12.
The number formed by interchaning the digits is 54 more than the original number.

The digits X and Y are 3 and 9, so the original number is 39.