Two Points Line Formula: For: Point A: (x1, y1) Point B: (x2, y2) Slope m = (y1-y2)/(x1-x2) X Intercept a = (x1 - y1) * (y1 + y2) / (x1 - x2) Y Intercept b = y1 - mx1 Line Equation: Y = mX + b