a) Ta có: \(x^2y^2-x^2+6xy-9y^2\)
\(=x^2y^2-\left(x^2-6xy+y^2\right)\)
\(=\left(xy\right)^2-\left(x-3y\right)^2\)
\(=\left(xy-x+3y\right)\left(xy+x-3y\right)\)
b) Ta có: \(9-x^2+2xy-y^2\)
\(=9-\left(x^2-2xy+y^2\right)\)
\(=9-\left(x-y\right)^2\)
\(=\left(9-x+y\right)\left(9+x-y\right)\)