Since we have been given a slope and a y-intercept, we can conclude the graph is a line.
The slope-intercept form of an line equation is as follows:

Where m is the slope and b is the y-intercept.
Since we have been given these, we can write the equation for this line as:

To draw a line, we need two points only. Since we have the equation, we can choose any value of x and input into it to get is corresponding y value. We can also do it the other way around.
Let's choose x = 0 and x = 1, for example.
For x = 0, we will have the y value:

Thus, we have the point x = 0, y = -2, that is, (0, -2).
For x = 1, we have:

So, we have the point x = 1, y = 0, that is, (1, 0).
Now, we can plot these points and connect them to graph the line: