First, move x to one side of the equation, opposite of y, so you can get y= something
Then your equation becomes -y=-x+1
You can't have a negative y so divide both equations by one.
Your new equation is y=x-1
To graph, you start at the point (0,-1) then go to the right one and up one