Obviously, x=y, because otherwise, all three expressions would take the same value, which contradicts problem statement.
If the first two expressions are equal, then we have the equality:
yx=y2+4x2+4⇒xy2+4x=yx2+4y⇒xy(y−x)=4(y−x).
Since x=y, we can divide by y−x⇒xy=4. There are two pairs of positive integer numbers that satisfy the last equality: (1, 4) and (4, 1). Substitute them into the third equality, and we get
y3+8x3+8=729=81=yxand, analogously,y3+8x3+8=8=yx,so these pairs of numbers satisfy the
condition.
If the first and third expressions are equal, then
yx=y3+8x3+8⇒xy3+8x=yx3+8y⇒xy(y−x)(y+x)=8(y−x)⇒xy(y+x)=8,
which has no solution, as one can confirm by a simple search.
If the second and third expressions are equal, then we have the equality:
y2+4x2+4x2y2(y−x)+4(y−x)(y2+xy+x2)=y3+8x3+8⇒x2y3+8x2+4y3=x3y2+8y2+4x3=8(y−x)(y+x)⇒x2y2+4(y2+xy+x2)=8(y+x)⇒4xy+x2y2=4(2y−y2)+4(2x−x2).
So, x=1 or y=1. If x=1, then 4y+y2=4(2y−y2)+4 or 5y2−3y+4=0 -
equality is obviously not possible, because 5y2>3y for positive integer y. Analogously for y=1.