Algebra Examples

Graph y=x^3-3,x<2; x^2+6,x<=2
I am unable to solve this problem.