Odpowiedź:
A = ( 2 , 4 ) , B = (- 1 , - 2 )
xa = 2 , xb = - 1 , ya = 4 , yb = - 2
(xb - xa)(y - ya) = (yb - ya)(x - xa)
(- 1 - 2)(y - 4) = (- 1 - 4)(x - 2)
- 3(y - 4) = - 5(x - 2)
- 3y + 12 = - 5x + 10
- 3y = - 5x + 10 - 12
3y = 5x - 10 + 12
3y = 5x + 2
y = (5/3)x + 2/3
y = (1 2/3)x + 2/3