\(\frac{x}{y^3-1}-\frac{y}{x^3-1}+\frac{2\left(x-y\right)}{x^2y^2+3}\)
\(=\frac{-\left(y-1\right)}{\left(y-1\right)\left(y^2+y+1\right)}+\frac{x-1}{\left(x-1\right)\left(x^2+x+1\right)}\) \(+\frac{2\left(x-y\right)}{x^2y^2+3}\)
\(=-\frac{1}{y^2+y+1}+\frac{1}{x^2+x+1}+\frac{2\left(x-y\right)}{x^2y^2+3}\)
\(=\frac{-\left(x^2+x+1\right)+y^2+y+1}{\left(y^2+y+1\right)\left(x^2+x+1\right)}+\frac{2\left(x-y\right)}{x^2y^2+3}\)
\(=\frac{-\left(x^2-y^2\right)-\left(x-y\right)}{x^2y^2+x^2y+xy^2+x^2+y^2+xy+x+y+1}+\frac{2\left(x-y\right)}{x^2y^2+3}\)
\(=\frac{-\left(x-y\right)\left(x+y\right)-\left(x-y\right)}{x^2y^2+xy\left(x+y\right)+xy+x^2+y^2+2}+\frac{2\left(x-y\right)}{x^2y^2+3}\)
\(=\frac{-\left(x-y\right)\left(x+y+1\right)}{x^2y^2+2xy+x^2+y^2+2}+\frac{2\left(x-y\right)}{x^2y^2+3}\)
\(=\frac{-2\left(x-y\right)}{x^2y^2+\left(x+y\right)^2+2}+\frac{2\left(x-y\right)}{x^2y^2+3}\)
\(=\frac{-2\left(x-y\right)}{x^2y^2+3}+\frac{2\left(x-y\right)}{x^2y^2+3}=0\)