Respuesta :

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

1- slope is undefined (Vertical line)

2- slope is 0 (horizontal line)