Answer
The first part of the graph is a straight line from (0,0) to (1,1). The second part of the graph is a straight line from (1,1) to (2,0).
Work Step by Step
$ f(0) = 0$
$ f(1) = 1$
So, the first part of the graph will be a straight line from (0,0) to (1,1).
$ f(2) = 2-2$
$ f(2) = 0$
So, the second part of the graph will be a straight line from (1,1) to (2,0).