let the no be X and Y
acc to ques....
x-y=9 .........1
xy=162 ..........2
substituting value from 1 in 2 we get;
x=9+y
[9+y][y] = 162
y^2+9y = 162
y^2 + 9y - 162=0
y^2 + 18y - 9y - 162=0
y[y+18] + 9[y+18]=0
[y+9][y+18}
y= -9.................................3
y= -18......................................4
case 1 :
y= -9
x = 9-9=0
case 2:
y= -18
x= 9-18 = -9