(-3,3)(7,3)...notice how the y's are the same. They are both 3. When the y's are the same u have a horizontal line with a slope of 0.
(-7,1)(-7,-7)..notice how the x's are the same. They are both -7. When the x's are the same u have a vertical line with a slope that is undefined.