For the first one, your first point will be (0,5) from there you go down once and to the right once, repeat. Once you reach the end, go back to the point (0,5) and go up once and to the left once. This should give a line.
For the second one, your first point will be (0,-1) from there you go down 3 times and to the right once, repeat. Once you reach the end, go back to the point (0,&1) and go up 3 times and to the left once. This should give a line.
For the third one, your first point will be (0,2) from there you go up twice and to the right 5 times, repeat. Once you reach the end, go back to the point (0,2) and go down twice and to the left five times. This should give a line.