1x+1y=118x+yxy=118xy=18x+18yxy−18x−18y=0(x−18)(y−18)=324
The pair of numbers that multiplies to 324 that are closest to each other but are not equal to each other are 12 and 27, so the answer is (18+12)+(27+18)
btw a very similar question was already answered here:
https://web2.0calc.com/questions/given-positive-integers-x-and-y-such-that-x-not-to-y-and-1-x-1-y-1-12-what-is-the-smallest-possible-positive-value-for-x-y