Hello Aref,
Let's define the number we're looking for as XYZ, where X is the hundreds digit, Y is the tens digit and Z is the one's (units) digit.
X + Y + Z = 10
We are told the units digit is 5 so this makes our number XY5 and
X + Y + 5 = 10, so X + Y = 5
Also if we reverse the digits we have 5YX and
5YX - XY5 = 297
5YX
-XY5
-----
297
Let's try to solve this.
X must be 2 since 7 + 5 = 12
and since X + Y = 5, then Y = 3
So the original number is
235
Let's check this
If we revers it, we have 532
Now
532 - 235 = 297 √
Aref T.
05/03/16