Help asap
A certain number of two digits is three times the sum of its digits, and if 45 be added to it the digits will be reversed find the number

The answer is 27 & 72 HOW?