For the graph y = 1 find the slope of a line that is perpendicular to it have the slope m = of undefined because y = 1 is a horizontal line whose slope m = 0. So the perpendicular line to it are vertical lines. While the slope of the line parallel to it has a slope of 0.