\(a,x^2+6x=x\left(x+6\right)\\ b,9x^2-1=\left(3x\right)^2-1^2=\left(3x-1\right)\left(3x+1\right)\\ c,x^2+2xy-9+y^2=\left(x^2+2xy+y^2\right)-9=\left(x+y\right)^2-3^2=\left(x+y-3\right)\left(x+y+3\right)\\ c,x^2-y^2-x+y=\left(x-y\right)\left(x+y\right)-\left(x-y\right)=\left(x-y\right)\left(x+y-1\right)\)