We are given the following function:
[tex]\begin{gathered} f(x)=\lbrace x^2;\text{ x<2} \\ -x+10;2\le x\le6\} \end{gathered}[/tex]The graph of this equation is a parabola for values of x < 2 and a line for values of 2<= x <= 6. The graph is the following: