Draw coordinate axes: by convention, the x-axis is the horizontal axis, and the y-axis is the vertical axis.
Now pick a value of x and calculate y. For the value of x chosen, move right or left to that x value along the x-axis. Then move up or down parallel to the y-axis and place a dot at the (x,y) coordinate. Since this equation is for a straight line, you can plot two points in this way and then draw a straight line through them. You can (and should) verify that any point on such line also obeys y=-x-2.