y = 2x - 1

y = -2x +1

y>0 \; per \; x>\frac{1}{2}

y<0 \; per \; x<\frac{1}{2}

y=0 \; per \; x=\frac{1}{2}

y=0 \; per \; x=\frac{1}{2}

y>0 \; per \; x<\frac{1}{2}

y<0 \; per \; x>\frac{1}{2}

Retta d'equazione
     y = 2x - 1

Retta d'equazione
    y = -2x + 1

a = -2 (slider from -2 to 2.5, step 0.1)
d = false
h = true
A: (a, (2 * a) - 1)
B = Intersect(e, xAxis)
C: (a, (2 * a) - 1)
f = Segment(B, A)
g = OrthogonalLine(A, xAxis)
D = Intersect(g, xAxis)
i = Segment(A, D)
j = Segment(B, D)
k = Segment(B, C)
l = OrthogonalLine(C, xAxis)
E = Intersect(l, xAxis)
m = Segment(E, C)
n = Segment(E, B)
P: (a, (-2 * a) + 1)
q = OrthogonalLine(P, xAxis)
F = Intersect(q, xAxis)
r = Segment(P, F)
s = Segment(B, F)
Q: (a, (-2 * a) + 1)
t = Segment(Q, B)
a_1 = Segment(B, P)
b_1 = OrthogonalLine(Q, xAxis)
G = Intersect(b_1, xAxis)
c_1 = Segment(Q, G)
d_1 = Segment(G, B)
H = (-3.1888438319668726, 4.493514566328917)
I = (-0.23218043291663407, 4.493514566328917)
J = (-0.24101062131636586, 3.511500673202737)
K = (-3.197674020366608, 3.5247592534675363)
L = (0.3644556789993369, 4.4139630847401214)
M = (0.36445567899933606, 3.459345305674571)
N = (3.321119078049578, 3.459345305674571)
O = (3.321119078049577, 4.4139630847401214)
poli2, l_1, m_1, n_1, o = Polygon(L, M, N, O)