To write a quadratic equation knowing the leading coefficient and the roots, we should use the following form:
[tex]a(x-b)(x-c)=0[/tex]Where 'a' represents the leading coefficent, and 'b' and 'c' represents the roots. Then, our quadratic equation is:
[tex]\begin{gathered} 1\cdot(x-(-1))(x-5)=0 \\ (x+1)(x-5)=0 \\ x^2-4x-5=0 \end{gathered}[/tex]