Let the two digit number is 10x+y
According to given question,
x×y=16
y=16x.......(1)
Now again,
10y+x=10x+y−54
⇒10y+x−10x−y=−54
⇒9y−9x=−54
⇒9(y−x)=−54
⇒x−y=6........(2)
put the value of y by equation (1) in equation (2)
x−16x=6
⇒x2−16=6x
⇒x2−6x−16=0
⇒x2−8x+2x−16=0
⇒x(x−8)+2(x−8)=0
⇒(x−8)(x+2)=0
⇒x−8=0x+2=0
⇒x=8x=−2
Put the value of x in equation (1) and we get,
y=162=8
Then, the number is
10x+y
=10×2+8
=28
Hence, this is the answer.