2. If the straight line passes through point A (x 1, y 1) and point B (x2, y2), if x 1≠x2, the slope k = [y1-y2]/[x1.