
Case-1 $\begin{aligned}
& x \geq 0 \
& x^2+2 x-5 x-5-1=0 \
& x^2-3 x-6=0 \
& x=\frac{3 \pm \sqrt{9+24}}{2}=\frac{3 \pm \sqrt{33}}{2}
\end{aligned}OnepositiverootCase−2\begin{aligned}
& -1 \leq x < 0 \
& -x^2-2 x-5 x-5-1=0 \
& x^2+7 x+6=0 \
& (x+6)(x+1)=0 \
& x=-1
\end{aligned}onerootinrangeCase−3\begin{aligned}
& -2 \leq x < -1 \
& x^2-2 x+5 x+5-1=0 \
& x^2-3 x-4=0 \
& (x-4)(x+1)=0
\end{aligned}NorootinrangeCase−4\begin{aligned}
& x < -2 \
& x^2+7 x+4=0 \
& x=\frac{-7 \pm \sqrt{49-16}}{2}=\frac{7 \pm \sqrt{33}}{2}
\end{aligned}$ one root in range Total number of distinct roots are 3