Oh, okay, I think I have a better solution.
So we all understand why the 1st condition is sufficient, right? If no, then please see below, how it works.
1 condition.
1/x = 1/2 ----> x=2. And if x=2, and x is greater than y, we can easily answer question
"is y<2?"So 1st condition alone is Sufficient or us.
2 condition:
If x>y>0, is y<2?
To make everything looks better and easier to understand
(1/x)+(1/y)=1 is the same as:
1/y=1/x - 1 ----->
1/y=(x-1)/x ------>
y = x/(x-1) perfect
Now we just need to think logically,
whatever
integer number we use, then we will always get that y will be equal 1,...., because just watch:
let's take 100, then y=100/(100-1)=100/99
let's take 30, then y=30/(30-1)=30/29
let's take 1000, then y=1000/(1000-1)=1000/999
you see the pattern, right?
So if we take not an integer number, but let's say 1/2 (same as 0.5), then y=0.5/(0.5-1)=1 , but this is not correct, because we know that x>y. So we should use only integer numbers.
Since we will use only integer numbers, we can clearly seem that whatever number we take, y will always be below 2. So again the 2nd condition is enough for us.