To simplify this expression, we can expand the expression (x-7)^2 and then distribute the -2x to both terms in (x+2).
(x-7)^2 = (x-7)(x-7)= xx - 7x - 7x + 77= x^2 - 14x + 49
Now, distribute -2x to both terms in (x+2):
-2x(x+2) = -2xx - 2x2= -2x^2 - 4x
Now, putting it all together:
(x-7)^2 - 2x(x+2) = x^2 - 14x + 49 - 2x^2 - 4x= -x^2 - 18x + 49
To simplify this expression, we can expand the expression (x-7)^2 and then distribute the -2x to both terms in (x+2).
(x-7)^2 = (x-7)(x-7)
= xx - 7x - 7x + 77
= x^2 - 14x + 49
Now, distribute -2x to both terms in (x+2):
-2x(x+2) = -2xx - 2x2
= -2x^2 - 4x
Now, putting it all together:
(x-7)^2 - 2x(x+2) = x^2 - 14x + 49 - 2x^2 - 4x
= -x^2 - 18x + 49