The roots of the quadratic function are given as,
![\begin{gathered} x\text{ = 8} \\ x\text{ = -5} \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/a148h0fw84ukq5al82mttosos0tsh5ca14.png)
Sum of roots is calculated as,
![\begin{gathered} sum\text{ of roots = 8 + \lparen-5\rparen} \\ sum\text{ of roots = 8 - 5} \\ sum\text{ of roots = 3} \\ \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/qz6hpzyjja6ilmqpefco3tim8wr5os74ha.png)
The product of roots is calculated as,
![\begin{gathered} Product\text{ of roots = 8 }*\text{ \lparen-5\rparen} \\ Product\text{ of roots = -40} \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/zqtv2efji97q4coejfst02wo4e0pc65viw.png)
The required quadratic function is given as,
![\begin{gathered} x^2-(sum\text{ of roots\rparen x +product of roots = 0} \\ \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/9r1t4mxkgj7w3fohpnn6y58pe9aimu7pfv.png)
A required quadratic function is calculated as,
![x^2-\text{ 3x-40 = 0}](https://img.qammunity.org/2023/formulas/mathematics/college/3gnn540a4ddiw8cf35526zs8ye2qfnjn0g.png)
Thus the required quadratic function is,
![x^2-\text{ 3x - 40 = 0 }](https://img.qammunity.org/2023/formulas/mathematics/college/vq6oov8rc7eo4dkmn9jgh3i2gflxnm7j3q.png)