Graph f(x)=-1/2x^2 if x<3; 10-x if x>=3