asdf

+

a = 5 (slider from -5 to 5, step 1)
b = 5 (slider from -5 to 5, step 1)
u = Vector((0, -2), (a, (-2)))
v = Vector((a, (-4)), (a + b, (-4)))
A: (a + b, 0)
c = Segment(A, (a + b, (-4)))
d = Segment((a, (-2)), (a, (-4)))
B: (a / 2, (-2))
C: (a + b / 2, (-4))
A_1: (a + b, 0)
A_2: (a + b, 0)
e = Segment((0, 0), (0, -2))
ab: (a * b)
Text4: "= (" + (If[a + b > 0, "+", If[a + b  <  0, "-", ""]] + (abs(a + b))) + ")"
Text1: "(" + (If[a > 0, "+", If[a  <  0, "-", ""]] + (abs(a))) + ") "
T1: "" + (If[a > 0, "+", If[a  <  0, "-", ""]] + (abs(a))) + ""
T2: "" + (If[b > 0, "+", If[b  <  0, "-", ""]] + (abs(b))) + ""
Text5: "" + (If[a + b > 0, "+", If[a + b  <  0, "-", ""]] + (abs(a + b))) + ""
Text3: "(" + (If[b > 0, "+", If[b  <  0, "-", ""]] + (abs(b))) + ")"