plotting piecewise functions



hello, how can I plot a piecewise function?