Let x be the ones digit and y be the tens digit.
5x + y = 43 (1)
x + 5y = 47 (2)
Add the equations. You will get
6x + 6y = 43 + 47 = 90
x + y = 90/6 = 15. (3)
Express x = 15 - y and substitute it into equation (1). You will get
5*(15-y) + y = 43
75 - 5y + y = 43
-4y = 43 - 75 = -32
y = = 8.
Then from (3) x = 15-y = 15-8 = 7.
ANSWER. The number is 87.