1. b, \(x^2+xy+5-6x-y\)
\(=\left(x^2-6x+5\right)+\left(xy-y\right)\\ =\left(x-1\right)\left(x-5\right)+y\left(x-1\right)\\ =\left(x-1\right)\left(x+y-5\right)\)
1. a, \(x^2-y^2+3x^2z+6xyz+3y^2z\)
\(=\left(x^2-y^2\right)+\left(3x^2z+6xyz+3y^2z\right)\\ =\left(x-y\right)\left(x+y\right)+3z\left(x^2+2xy+y^2\right)\\ =\left(x-y\right)\left(x+y\right)+3z\left(x+y\right)^2\\ =\left(x+y\right)\left[x-y+3z\left(x+y\right)\right]\\ =\left(x+y\right)\left(x-y+3xz+3yz\right)\)