The function to be graph is

The function above is a linear equation, to graph this kind of function you only need to know two points and draw a line that goes through them
Let's use the cases in which x=1 and x=0, for simplicity

Those two are the point we will use to draw the graph
The two points on the plane look like this:
And the line we can draw through those two points looks like this: