( x | y )
P1 (1 |1 )
P2 (2a | 6a)
y = m * x + b
Steigung
m = Δ y / Δ x = ( y1 - y2 ) / ( x1 - x2 )
m = ( 1 - 6a ) / ( 1 - 2a )
Einsetzen in P1
1 = ( 1 - 6a ) / ( 1 - 2a ) * 1 + b
b = 1 - m
y = m * x + m
y = m * ( x + 1 )
y = ( 1 - 6a ) / ( 1 - 2a ) * ( x + 1)