I worked this for x and y each = 10, in particular, integers.
In step 5, where you divide each side of the inequality by log(1/x), the division was by a negative number [log(1/10) = -1].
So in step 5 you must also reverse the inequality sign.
Cool example.