Determine all pairs of integers (x,y)(x, y)(x,y) satisfying x2=y2(x+y4+2y2)x^{2} = y^{2}\left(x + y^{4} + 2y^{2}\right)x2=y2(x+y4+2y2).