Ok, its not that hard, because you have so many graphs that match your conditions.

How will begin by putting (0,5), (2,2), (4,4), (6,1) and (8,3) on the coordinate system.

Then you notice something. f'(2) does not exist but f(2)=2. This tells you that there is either a cusp or vertical tangent. What tells you that there is cusp is actually f'(x) changing sign from negative to positive in front of x=2. This will tell you that x=2, y=2 is local extrema (concretely minimum because of the reason above).

You will notice that f'(x) is changing sign also in x=4, local maxima.

x=6, local minima same reasons.

Infletion point: x=5 because f''(x) is changing sign.

You got so many things given that its very easy to draw the graphic.