How do You Find Slope?

Slope of the line where the values of the points are (x1,y1) , (x2,y2) is calculated by using the formula m = (x2-y2) / (x1-y1).If the lines are parallel then product of the slopes of the lines will be 1. If the two lines are perpendicular then the product of the slopes will be -1.