\(25a^2-20ab+4b^2\)
= \(\left(5a\right)^2\) \(-2.5a.2b\) \(+\left(2b\right)^2\)
= \(\left(5a-2b\right)^2\)
\(=\left(5a\right)^2-2\cdot5\cdot2\cdot a\cdot b+\left(2b\right)^2=\left(5a-2b\right)^2\)
\(25a^2+4b^2-20ab\)
\(=25a^2-20ab+4b^2\)
\(=\left(5a\right)^2-2.5a.2b+\left(2b\right)^2\)
\(=\left(5a-2b\right)^2\)