We need to find the ratio of the difference between the (y)-coordinates and (x)-coordinates of the two points that form the line. The resulted value is the slope of the line. It shows the rise of the line along the (y)-axis over the run along (x)-axis.