You can put this solution on YOUR website! It's 39.
-------------
Since it adds to 12 and the 1's is 3x the 10's, both digits have to be multiples of 3.
39 is the only possibility
---------------------------
The hard way:
t = 10s digit, u = 1s digit
t + u = 12
u = 3t
Sub for u in the 1st eqn
t + 3t = 12
4t = 12
t = 3
u = 9