\(a,=3\left(x-y\right)-\left(x-y\right)^2=\left(x-y\right)\left(3-x+y\right)\\ b,=\left(x+y\right)^2-4x^2y^2=\left(x-2xy+y\right)\left(x+2xy+y\right)\\ c,=\left(x+y-x+y\right)\left[\left(x+y\right)^2+\left(x+y\right)\left(x-y\right)+\left(x-y\right)^2\right]\\ =2y\left(x^2+2xy+y^2+x^2-y^2+x^2-2xy+y^2\right)\\ =2y\left(3x^2+y^2\right)\\ d,=x^2+2x-7x-14=\left(x+2\right)\left(x-7\right)\)