So firstly, since we know that the coefficient of x² is 1, this means that this is our base equation:
y = x² + bx + c
Now, since we know that the roots are -7 and 1, set y = 0 and set x = -7 and 1 and simplify:
[tex]0=(-7)^2+b(-7)+c\\0=49-7b+c\\-49=-7b+c\\\\0=1^2+b(1)+c\\0=1+b+c\\-1=b+c\\\\-49=-7b+c\\-1=b+c[/tex]
Now with this, we can set up a system of equations to solve for b and c. For this, I will be using the elimination method. For this, subtract the 2 equations:
[tex]\begin{alignedat}{2}-49&=-7b+c\\-(-1&=b+c)\\-48&=-8b\end{alignedat}[/tex]
Now that the c variable has been eliminated we can solve for b. For this, divide both sides by -8 and your first part of your answer is b = 6.
Now that we know the value of b, plug it into either equation to solve for c:
[tex]-49=-7(6)+c\\-49=-42+c\\-7=c\\\\-1=6+c\\-7=c[/tex]
Putting it together, your final answer is x² + 6x - 7 = 0.