Check the final answer first, then review the worked steps.
2x^2 + 10x - 5x - 25 = 2x(x + 5) - 5(x + 5) = (2x - 5)(x + 5)