Given the roots to be -7 and 1.
Step 1: Equate the roots to x
Hence, the first equation will be
[tex]x=-7[/tex]and the second is
[tex]x=1[/tex]Step 2: Make both expressions be equal to zero
Hence, we have
[tex]x+7=0[/tex]and
[tex]x-1=0[/tex]Step 3: Multiply both roots
Hence
[tex]\begin{gathered} (x+7)\times(x-1) \\ \text{Expanding} \\ x^2+7x-x-7 \\ x^2+6x-7 \end{gathered}[/tex]Step 4: The expression gotten from Step 3 should be equated to y.
Hence,
[tex]y=x^2+6x-7[/tex]Therefore,