Let the unit digit be x so, tens digit will be 18x.
According to question,
(x+18x×10)−27=10×x+18x
⇒(x+180x)−27=10x+18x
Taking x as LCM,
x2+180−27x=10x2+189x2−27x−162=09(x2−3x−18)=0x2−3x−18=0
Now, we will factorize the above quadratic equation to find the roots,
x2−6x+3x−18=0x(x−6)+3(x−6)=0x+3=0 or x−6=0x=−3 or x=6
Now if x is negative then product will not be +18. Therefore x=6 is the only acceptable value of x.
Hence the number will be,
x+180x=6+1806=6+30=36