piecewise[{{3-2*x,x<=0},{3,0<=x<=3},{2*x-3,x>=3}}]