Construction in GCLC language
dim 120 120
point C 110 40
point E_{c} 95 56.36
point M_{a} 65 40
color 220 0 0
fontsize 11
cmark_b C
cmark_r E_{c}
cmark_b M_{a}
color 0 0 0
fontsize 10
% Constructing a point H such that CH/CE_{c}=2
towards H C E_{c} 2
cmark_rt H
color 200 200 200
drawsegment C H
color 0 0 0
% Constructing a point B such that CB/CM_{a}=2
towards B C M_{a} 2
cmark_b B
color 200 200 200
drawsegment C B
color 0 0 0
% DET: points C and M_{a} are not the same
% Constructing a line a which passes through point C and point M_{a}
line a C M_{a}
color 200 200 200
drawline a
color 0 0 0
% DET: points H and B are not the same
% Constructing a line h_{b} which passes through point H and point B
line h_{b} H B
color 200 200 200
drawline h_{b}
color 0 0 0
% NDG: points C and E_{c} are not the same
% Constructing a circle k(E_{c},C) whose center is at point E_{c} and which passes through point C
circle k(E_{c},C) E_{c} C
color 200 200 200
drawcircle k(E_{c},C)
color 0 0 0
% NDG: line a and circle k(E_{c},C) intersect% DET: points C and H_{a} must be different
% Constructing a point P_{\_G24360} which is a foot of the point E_{c} on the line a
foot P_{\_G24360} E_{c} a
cmark_r P_{\_G24360}
color 200 200 200
drawline E_{c} P_{\_G24360}
color 0 0 0
% Constructing a point H_{a} which is an image of the point C in the symmetry to point/line P_{\_G24360}
sim H_{a} P_{\_G24360} C
cmark_b H_{a}
% DET: points H_{a} and H are not the same
% Constructing a line h_{a} which passes through point H_{a} and point H
line h_{a} H_{a} H
color 200 200 200
drawline h_{a}
color 0 0 0
% NDG: line h_{b} and circle k(E_{c},C) intersect% DET: points H and H_{b} must be different
% Constructing a point P_{\_G24598} which is a foot of the point E_{c} on the line h_{b}
foot P_{\_G24598} E_{c} h_{b}
cmark_r P_{\_G24598}
color 200 200 200
drawline E_{c} P_{\_G24598}
color 0 0 0
% Constructing a point H_{b} which is an image of the point H in the symmetry to point/line P_{\_G24598}
sim H_{b} P_{\_G24598} H
cmark_rt H_{b}
% DET: points H_{b} and C are not the same
% Constructing a line b which passes through point H_{b} and point C
line b H_{b} C
color 200 200 200
drawline b
color 0 0 0
% NDG: lines h_{a} and b are not parallel% DET: lines h_{a} and b are not the same
% Constructing a point A which belongs to line h_{a} and line b
intersec A h_{a} b
cmark_t A
drawsegment A B
drawsegment A C
drawsegment B C
% Non-degenerate conditions: lines h_{a} and b are not parallel; line h_{b} and circle k(E_{c},C) intersect; line a and circle k(E_{c},C) intersect; points C and E_{c} are not the same
% Determination conditions: lines h_{a} and b are not the same; points H_{b} and C are not the same; points H and H_{b} must be different; points H_{a} and H are not the same; points C and H_{a} must be different; points H and B are not the same; points C and M_{a} are not the same