a) \(x^2-81=\left(x-9\right)\left(x+9\right)\)
b) \(4x^2-25=\left(2x-5\right)\left(2x+5\right)\)
c) \(x^4-y^4=\left(x^2-y^2\right)\left(x^2+y^2\right)=\left(x-y\right)\left(x+y\right)\left(x^2+y^2\right)\)
d) \(x^2+6xy+9y^2=\left(x+3y\right)^2\)
e) \(6x-9-x^2=-\left(x^2-6x+9\right)=-\left(x-3\right)^2\)
f) \(x^2-4x^2+4y^2+4xy=\left(x^2+4xy+4y^2\right)-4x^2=\left(x+2y\right)^2-4x^2\\ =\left(x+2y+2x\right)\left(x+2y-2x\right)=\left(3x+2y\right)\left(2y-x\right)\)
g) \(\left(a+b\right)^3+\left(a-b\right)^3=\left(a+b+a-b\right)\left[\left(a+b\right)^2-\left(a+b\right)\left(a-b\right)+\left(a-b\right)^2\right]\)
\(=2a\left(a^2+2ab+b^2-a^2+b^2+a^2-2ab+b^2\right)=2a\left(a^2+3b^2\right)\)
h) \(\left(3x+1\right)^2-\left(x+1\right)^2=\left(3x+1+x+1\right)\left(3x+1-x-1\right)\\ =\left(4x+2\right)\cdot2x=4x\left(2x+1\right)\)