\[5(a + 1)^{2} - 10a =\]
\[= 5\left( a^{2} + 2a + 1 \right) - 10a =\]
\[= 5a^{2} + 10a + 5 - 10a = 5a^{2} + 5.\]