Let the two-digit number be 'xy'
So, the actual value of the number is 10x + y.
When the digits are reversed
Then, the actual value of the number becomes 10y + x.
∴ from the given condition,
10x + y = 7 (x+y) - - - (1)
10y + x = (10x + y) - 18 - - - (2)
From (1), we get:
10x - 7x = 7y - y
⇒ 3x = 6y
⇒ x = 2y
Putting x = 2y in (2), we get :
10y + 2y = 20y + y - 18
⇒ 12y = 21y - 18
⇒ 9y = 18
⇒ y = 2
So, x = 2y = 2 × 2 = 4
∴ The required number is 42.