I solved this question by assuming cases for various roots of this equation and I found that lowest value of $y$ is $-2$ for $x<2$ but this is a long process and took some time. I was wondering if there is a quick way to solve this or any smart trick to get the answer while solving these types of questions in the competitive exams. Please help !!!
Thanks in advance !!!
Note that the function will be linear in each of the subintervals determined by the $x$-values $2$, $6$, $8$. Evaluate the function at each of these three $x$-values; and at one point to the left of $2$ and at one point to the right of $8$, and you should be able to resolve the question.