Answer
$ n=10 $ or $n=-4$.
Work Step by Step
By factorization, we have
$$n^2-6n-40=(n+4)(n-10)=0.$$
Then we have
$$(n-10 ) =0, \quad \text{or} \quad (n+4)=0$$
that is $ n=10 $ or $n=-4$.
You can help us out by revising, improving and updating this answer.
Update this answerAfter you claim an answer you’ll have 24 hours to send in a draft. An editor will review the submission and either publish your submission or provide feedback.