Refer to the image below for the graph.
Work Step by Step
To graph the given function, perform the following steps: (1) Create a table of values by assigning $x=0, 1, 2, 3, 4, 5$ then solving for the corresponding value of $y$ for each value of $x$. (refer to the attached image below) (2) Plot each ordered pair from the table of values, then connect the points using a straight line. Note that the domain is restricted from 0 to 5 only. (refer to the attached image in the answer part above)