\(=5a^{2}-10ab+5b^{2}-ab+a^{2}-b^{2}+ab \)
\(=6a^{2}-10ab+4b^{2}\)
\(=2(3a^{2}-5ab+b^{2})\)
\(5\left(a-b\right)^2-\left(a+b\right)\left(b-a\right)\)
\(=5\left(a-b\right)\cdot\left(a-b\right)+\left(a-b\right)\cdot\left(a+b\right)\)
\(=\left(a-b\right)\left(5a-5b+a+b\right)\)
\(=2\left(a-b\right)\left(3a-2b\right)\)