Algebra Examples

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