The factored form of a quadratic equation is
[tex]\begin{gathered} f(x)=a(x-c_1)(x-c_2) \\ a\rightarrow\text{ constant} \\ c_1,c_2\rightarrow\text{ roots} \end{gathered}[/tex]Therefore, in our case,
[tex]\Rightarrow f(x)=(x+4)(x-6)[/tex]Notice that no information about constant a is provided by the question,
[tex]\Rightarrow f(x)=(x+4)(x-6)=x^2-2x-24[/tex]