Solution:According to question,
Let the number be (10x + y). Then
(10x + y) + 18 = (10y + x)
9x − 9y = −18 ⇒ x − y = −2 …… eq.(1)
(x × y) = 8 …… (given)
(x + y)² − (x − y)² = 4xy
⇒ (x + y)² − (−2)² = 4 × 8
⇒ (x + y)² = 36 ⇒ (x + y) = √36
⇒ (x + y) = 6 …… eq.(2)
From eq.(1) and eq.(2) we get,
x = 2, y = 4 ⇒ so number is 24.