To solve the quadratic equation, we must factorize the left side into two factors
![x^2+13x+40=0](https://img.qammunity.org/2023/formulas/mathematics/college/kuprehutsptjhv1hbxjiae9rvhuw1s7l7j.png)
We have to look for two numbers their product = 40, and their sum = 13
Since 8 x 5 = 40 and 8 + 5 = 13, then the factors will be
(x + 5) and (x + 8)
![\begin{gathered} x^2+13x+40=(x+5)(x+8) \\ (x+5)(x+8)=0 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/ahn2ifgshxxqhd109ab1aalrwfove0iu1p.png)
Now we will equate each factor by 0
![\begin{gathered} x+5=0 \\ x+8=0 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/wamrib0ebs17rgvmokh08lzvc7dj7cv13s.png)
Let us solve them to find the values of x
x + 5 = 0
Subtract 5 from both sides
![\begin{gathered} x+5-5=0-5 \\ x=-5 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/ek6g94bm50kdbo92tb9vxgi4o63a3v1vtb.png)
x + 8 = 0
Subtract 8 from both sides
![\begin{gathered} x+8-8=0-8 \\ x=-8 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/u0hs768475tp07p6b9j9phygmj24ceuimp.png)
The solution of the equation is
x = -5 and x = -8
The answer is
x = -5 and x = -8