As it is a linear relationship, we can graph the function based on its equation in the form:

where m is the slope and b is the y-intercept.
To calculate the slope we can choose any two points and display them in the following formula:

Choosing for example (2, 1) and (4, 2):


Therefore, our equation is:

To calculate b we have to choose again a point, for example, (2, 1) and replace it as follows:



Finally, our equation is:

We can use this equation to get other coordinates by choosing any value for x and calculating y. Finally, we get the coordinate (x, y), and to get the line we unite all the points in a line.
Answer:
