Oh, and, another piecewise one he took off 1 point, not full credit but still I don't know what he didn't like about it...
Define g(x) = (x^2+x-6)\(x+3) as a piecewise function so that it will be continuous everywhere.
My end result was
g(x) = (x-2, x>=0)
(-x+2, x<0)