piecewise[{{√(4-x^2),-2<=x<=0},{3*x--2,x>0}}]