y = 12 is a horizontal line, parallel to the x- axis , hence has slope of zero
The slope of a line parallel to it will also be zero, as parallel lines have equal slopes
The slope of a line perpendicular to it, is the slope of a vertical line which is undefined or has no slope