Respuesta :

slope = (y2-y1)/(x2-x1)

the first slope is 0 (horizontal line)

second slope is undefined (vertical line)