a: \(x^2-4xy+4y^2-2x+4y-35\)
\(=\left(x^2-4xy+4y^2\right)-\left(2x-4y\right)-35\)
\(=\left(x-2y\right)^2-2\left(x-2y\right)-35\)
\(=\left(x-2y\right)^2-7\left(x-2y\right)+5\left(x-2y\right)-35\)
\(=\left(x-2y\right)\left(x-2y-7\right)+5\left(x-2y-7\right)\)
\(=\left(x-2y-7\right)\left(x-2y+5\right)\)
c: \(\left(xy+ab\right)^2+\left(ay-bx\right)^2\)
\(=x^2y^2+a^2b^2+2xyab+a^2y^2-2aybx+b^2x^2\)
\(=x^2y^2+a^2y^2+a^2b^2+b^2x^2\)
\(=y^2\left(x^2+a^2\right)+b^2\left(a^2+x^2\right)\)
\(=\left(x^2+a^2\right)\left(y^2+b^2\right)\)