Which of the following functions is graphed below ??

Calculate the function values for x = 2
[tex]y=x^3-3\\\\for\ x=2\to y=2^3-3=8-3=5\to(2,\ 5)\\\\y=x^2+6\\\\for\ x=2\to y=2^2+6=4+6=10\to(2,\ 10)[/tex]
Look at the picture.
Answer:
[tex]C.\ y=\left\{\begin{array}{ccc}x^3-3&,\ x\leq2\\x^2+6&,\ x>2\end{array}\right[/tex]