Can someone help me with graphing this function?

p.s. Excuse the scribble.
Step-by-step explanation:
This is a piece-wise function. The three intervals we need to worry about are [0, 1), [1,2], and [2,4].
Separate the functions into their pieces and draw out the individual graphs. Place them together onto the graph within their respective intervals.