The general equation of a line is:
Where m is the slope and b the y-intercept.
Given the slope and one point, you can replace these values to find the y-intercept b:
Then, the equation of the line is:
To graph the line, you can make a table of values first:
x y
-1 -1/3
0 1/3
1 1
2 5/3
And the graph will look like: