a) \(x+2y+\left(x-y\right)\)
\(=x+2y+x-y\)
\(=2x+y\)
b) \(2x+y-\left(3x-5y\right)\)
\(=2x+y-3x+5y\)
\(=-x+6y\)
c) \(3x^2-4y^2+6xy+7+\left(-x^2+y^2-8xy+9x+1\right)\)
\(=3x^2-4y^2+6xy+7-x^2+y^2-8xy+9x+1\)
\(=2x^2-3y^2-2xy+9x+8\)
d) \(4x^2y-2xy^2+8-\left(3x^2y+9xy^2-12xy+6\right)\)
\(=4x^2y-2xy^2+8-3x^2y-9xy^2+12xy-6\)
\(=x^2y-11xy^2+2+12xy\)