1

1

m = 0.5 (slider from -5 to 5, step 0.1)
b = 2.6 (slider from -5 to 5, step 0.1)
a: y = m * x + b
A: (0.0, m * 0.0 + b)
B: (1.0, m + b)
c = OrthogonalLine(B, yAxis)
C = Point(c)
poly1, b_1, a_1, c_1 = Polygon(A, C, B)
D = Midpoint(b_1)
E = Midpoint(a_1)
text2: m + ""