Answer:
89
Step-by-step explanation:
Since [tex](\frac{-14}{2})^2=49[/tex] and [tex]49-(-40)=49+40=89[/tex], then 89 needs to be added to both sides of the equation to complete the square:
[tex]x^2-14x-40=0\\\\x^2-14x-40+89=0+89\\\\x^2-14x+49=89\\\\(x-7)^2=89\\\\x-7=\pm\sqrt{89}\\\\x=7\pm\sqrt{89}[/tex]
By completing the square, we are able to reduce the trinomial into a perfect square binomial, which helps us solve the equation.