$\textsf{TRY ANOTHER}$

\text{bottomtext.}

$\text{SHOW NUMBERS}$

Restart

$\text{Choose one:}$

$$

$$

$$

\textcolor{#DA2570}{a}(\textcolor{#3A6ED6}{b}+\textcolor{#0F8538}{c})=\textcolor{#DA2570}{a}\times \textcolor{#3A6ED6}{b}+\textcolor{#DA2570}{a}\times \textcolor{#0F8538}{c}

A = (-8, 0)
B = (2, 0)
C_{1} = (0, 4)
T = (-5, -5)
J = (-2, 0)
ddMenu: {"$\text{Pos 16,21 if on top-Complementary }$", "$\text{Supplementary }$"}
is = SelectedIndex(ddMenu)
val1List = Shuffle(Sequence[t, t, -18, 18])
countQuestion: 1
val1 = Element(val1List, Mod[countQuestion, Length[val1List]] + 1)
a = 10 (slider from 1 to 10, step 1)
b = 10 (slider from 1 to 10, step 1)
c = 10 (slider from 1 to 10, step 1)
C = (-17, -7)
D: C + (b, 0)
E: D + (c, 0)
F: C + (0, a)
G: D + (0, a)
H: E + (0, a)
prodAB, c_1, d, g, f = Polygon(C, D, G, F)
prodAC, d_1, e, h, g_1 = Polygon(D, E, H, G)
showNumbers = false
textB: "" + (LaTeX[If[showNumbers, ("" * b), "b"]]) + ""
textA: "" + (LaTeX[If[showNumbers, ("" * a), "a"]]) + ""
textC: "" + (LaTeX[If[showNumbers, ("" * c), "c"]]) + ""
measVert = Segment(C + (-1, 0), F + (-1, 0))
measHor1 = Segment(C + (0, -1), D + (0, -1))
measHor2 = Segment(D + (0, -1), E + (0, -1))
VSL: Midpoint[C, F] + (-2.3, 0.3)
AL1: Midpoint[C, G] + (-1, 0.3)
AL2: Midpoint[D, H] + (-1, 0.3)
HSL1: Midpoint[C, D] + (-0.3, -1.2)
HSL2: Midpoint[D, E] + (-0.3, -1.2)
textAB: "" + (LaTeX[If[showNumbers, ((((" \textcolor{#DA2570}{" * a) * "} × \textcolor{#3A6ED6}{") * b) * "}"), "\textcolor{#DA2570}{a} × \textcolor{#3A6ED6}{b}"]]) + ""
textAC: "" + (LaTeX[If[showNumbers, ((((" \textcolor{#DA2570}{" * a) * "} × \textcolor{#0F8538}{") * c) * "}"), "\textcolor{#DA2570}{a} × \textcolor{#0F8538}{c}"]]) + ""
textQuestionN: "\textcolor{#DA2570}{" + (LaTeX[a]) + "}(\textcolor{#3A6ED6}{" + (LaTeX[b]) + "}+\textcolor{#0F8538}{" + (LaTeX[c]) + "})=\textcolor{#DA2570}{ " + (LaTeX[a]) + "}\times \textcolor{#3A6ED6}{ " + (LaTeX[b]) + "}+\textcolor{#DA2570}{" + (LaTeX[a]) + " } \times\textcolor{#0F8538}{" + (LaTeX[c]) + " }=\textcolor{#5145A8}{" + (LaTeX[(a * b) + (a * c)]) + " }"
labelA: "" + (LaTeX[If[showNumbers, ("a=" * a), "a"]]) + ""
labelB: "" + (LaTeX[If[showNumbers, ("b=" * b), "b"]]) + ""
labelC: "" + (LaTeX[If[showNumbers, ("c=" * c), "c"]]) + ""