Construction in GCLC language
dim 120 120
point E_{b} 50 56.36
point M_{a} 65 40
point O 65 51.14
color 220 0 0
fontsize 11
cmark_r E_{b}
cmark_b M_{a}
cmark_t O
color 0 0 0
fontsize 10
% DET: points E_{b} and M_{a} are not the same
% Constructing a line m(BH_{c}) which passes through point E_{b} and point M_{a}
line m(BH_{c}) E_{b} M_{a}
color 200 200 200
drawline m(BH_{c})
color 0 0 0
% DET: points M_{a} and O are not the same
% Constructing a line m_{a} which passes through point M_{a} and point O
line m_{a} M_{a} O
color 200 200 200
drawline m_{a}
color 0 0 0
% Constructing a line a which is perpendicular to line m_{a} and which passes through point M_{a}
perp a M_{a} m_{a}
color 200 200 200
drawline a
color 0 0 0
% Constructing a line m(BH_{a}) which contains the point E_{b} and is parallel to the line m_{a}
parallel m(BH_{a}) E_{b} m_{a}
color 200 200 200
drawline m(BH_{a})
color 0 0 0
% Constructing a line m_{c} which contains the point O and is parallel to the line m(BH_{c})
parallel m_{c} O m(BH_{c})
color 200 200 200
drawline m_{c}
color 0 0 0
% NDG: lines m_{c} and m(BH_{a}) are not parallel% DET: lines m_{c} and m(BH_{a}) are not the same
% Constructing a point M_{c} which belongs to line m_{c} and line m(BH_{a})
intersec M_{c} m_{c} m(BH_{a})
cmark_lt M_{c}
% Constructing a line c which is perpendicular to line m_{c} and which passes through point M_{c}
perp c M_{c} m_{c}
color 200 200 200
drawline c
color 0 0 0
% NDG: lines c and a are not parallel% DET: lines c and a are not the same
% Constructing a point B which belongs to line c and line a
intersec B c a
cmark_b B
% Constructing a point H such that BH/BE_{b}=2
towards H B E_{b} 2
cmark_rt H
color 200 200 200
drawsegment B H
color 0 0 0
% Constructing a point C such that M_{a}C/M_{a}B=-1
towards C M_{a} B -1
cmark_b C
color 200 200 200
drawsegment B C
color 0 0 0
% Constructing a line L_{\_G41882} which passes through point O and point H
line L_{\_G41882} O H
color 200 200 200
drawline L_{\_G41882}
color 0 0 0
% Constructing a point P_{\_G41983} with coordinates (0,0)
point P_{\_G41983} 0 0
cmark_r P_{\_G41983}
% Constructing a point P_{\_G41907} such that OP_{\_G41907}/OP_{\_G41983}=1
towards P_{\_G41907} O P_{\_G41983} 1
cmark_r P_{\_G41907}
color 200 200 200
drawsegment O P_{\_G41907}
color 0 0 0
% Constructing a point P_{\_G41952} such that OP_{\_G41952}/OP_{\_G41983}=3
towards P_{\_G41952} O P_{\_G41983} 3
cmark_r P_{\_G41952}
color 200 200 200
drawsegment O P_{\_G41952}
color 0 0 0
% Constructing a line L_{\_G41913} which passes through point H and point P_{\_G41952}
line L_{\_G41913} H P_{\_G41952}
color 200 200 200
drawline L_{\_G41913}
color 0 0 0
% Constructing a line L_{\_G41876} which contains the point P_{\_G41907} and is parallel to the line L_{\_G41913}
parallel L_{\_G41876} P_{\_G41907} L_{\_G41913}
color 200 200 200
drawline L_{\_G41876}
color 0 0 0
% Constructing a point G which belongs to line L_{\_G41876} and line L_{\_G41882}
intersec G L_{\_G41876} L_{\_G41882}
cmark_t G
% Constructing a point A such that M_{a}A/M_{a}G=3
towards A M_{a} G 3
cmark_t A
color 200 200 200
drawsegment M_{a} A
color 0 0 0
drawsegment A B
drawsegment A C
drawsegment B C
% Non-degenerate conditions: lines c and a are not parallel; lines m_{c} and m(BH_{a}) are not parallel
% Determination conditions: lines c and a are not the same; lines m_{c} and m(BH_{a}) are not the same; points M_{a} and O are not the same; points E_{b} and M_{a} are not the same