x_0

x_0

k = 1 (slider from -5 to 5, step 0.1)
n = 1.5 (slider from -2 to 3, step 0.1)
f(x) = k * x + n
B = Point(f)
C = Point(xAxis)
A = Root(f)
mnogokotnik1, c, a, b = Polygon(A, B, C)
D = Point(xAxis)
E = Point(f)
mnogokotnik2, a_1, d, e = Polygon(D, E, A)
F = Root(f)
G = Point(f)
H = Point(xAxis)
mnogokotnik3, h, g, f_1 = Polygon(G, F, H)
I = Point(xAxis)
J = Point(f)
mnogokotnik4, f_2, i, j = Polygon(I, J, F)