Question 837691
there are several ways to do it.
one of the easiest ways is to find the x and y intercepts.
you can find them in the following manner.


the equation is y = -x - 2


when x = 0, the equation becomes:
y = -2
that's your y-intercept.
the coordinates of that point are (0,-2).


when y = 0, the equation becomes:
0 = -x - 2
add 2 to both sides of this equation to get:
2 = -x
multiply both sides of this equation by -1 to get:
x = -2
that's your x-intercept.
the coordinates of that point are (-2,0).


what you have just done is plot 2 points.
draw a straight line between them and that's the graph of your line.


that graph looks like this:
{{{graph(600,600,-5,5,-5,5,-x-2)}}}


you can see that the x-intercept is at (-2,0) and that the y-intercept is at (0,-2).


the x-intercept is the point where the graph crosses the x-axis.
the y-intercept is the point where the graph crosses the y-axis.


there are other ways to graph the equation.
this is just one of them.