A two digit positive integer can be written as 10x + y, where x is the tens digit and y is the ones digit. For example, 37 = 10(3) + 7.
So, y = x+5 and 10x + y = 3(x + y)
x - y = -5
7x - 2y = 0
Multiply the first equation by -2:
-2x + 2y = 10
7x - 2y = 0
Add the equations to get 5x = 10
So, x = 2 and y = x + 5 = 7
The number is 27