You forgot to mention the graph.
So, I make the graph of both given functions and you will compare your graph with them.
First, y= -x-1 put y=0 you get point (-1,0) called x-intercept
put x=0 you get point (0,-1) called y-intercept
join both the points, you will get the graph
Graph is attached in the picture.
Second, y= x+1
put y=0 you get point (-1,0) called x-intercept
put x=0 you get point (0,1) called y-intercept
join both the points, you will get the graph
Graph is attached in the picture.