Solve the quadratic congrunce Solve the following quadratic congreunce

$x^2+ 7x + 10 \equiv 0$ (mod $11$).

I want to know a general and easy method how to solve this kind of questions.
For $ax^2+bx+c\equiv 0$ (mod $p$), if $p$ is an odd prime not dividing $a$, then this is the same as solving a simpler question about quadratic residues $y^2\equiv b^2-4ac$ (mod $p$), and $y\equiv 2ax+b$ (mod $p$).
Use the quadratic formula $$\frac{-b \pm \sqrt{b^2-4ac}}{2a}$$

so $b^2-4ac = 7^2 - 40 = 9 = 3^2$

so $\pm \sqrt{b^2-4ac} = \pm 3$

and $-b \pm 3 = -10,-4$

and so the answers are -5 and -2.