Write the Equation of a Line Through Two Points
- Calculate slope: m = (13 − 5) / (6 − 2) = 8 / 4 = 2.
- Substitute m = 2 and point (2, 5) into y = mx + b: 5 = 2(2) + b ⇒ b = 1.
- Write the equation: y = 2x + 1.
- Verify with the second point (6, 13): 2(6) + 1 = 13 ✓.