due soon please help!!!!!! i'll mark brainlist

Answer: D) x=-7 and x-1
Step-by-step explanation:
Solve by factoring
x^2+7x+x+7 <-- +1 and +7 add to 8 and multiply to 7
x(x+7)+(x+7)
(x+7)(x+1) = 0
x + 7 = 0
= -7
x + 1 = 0
x = -1
Therefore the solutions are x=-7 and x-1