Answer:
2x^2 - 18x + 45
Explanation:
Standard form is ax^2 + bx + c
Expand the (x-5)^2 = (x-5)(x-5) --
x^2 - 5x - 5x + 25
x^2 - 10x + 25
So we now have
2(x^2 - 10x + 25) + 2(x-5) + 5
From here, distribute the 2 to each term in x^2 - 10x + 25, and distribute the 2 to each term in x - 5.
2x^2 - 20x + 50 + 2x - 10 + 5
Combine like terms
2x^2 - 20x + 2x + 50 - 10 + 5
2x^2 - 18x + 40 + 5
2x^2 - 18x + 45