Construction in GCLC language
dim 120 120
point E_{c} 95 56.36
point H_{a} 80 40
point M_{a} 65 40
color 220 0 0
fontsize 11
cmark_r E_{c}
cmark_b H_{a}
cmark_b M_{a}
color 0 0 0
fontsize 10
% DET: points H_{a} and M_{a} are not the same
% Constructing a line a which passes through point H_{a} and point M_{a}
line a H_{a} M_{a}
color 200 200 200
drawline a
color 0 0 0
% NDG: points H_{a} 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 H_{a}
circle k(E_{c},C) E_{c} H_{a}
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 H_{a} and C must be different
% Constructing a point P_{\_G57934} which is a foot of the point E_{c} on the line a
foot P_{\_G57934} E_{c} a
cmark_r P_{\_G57934}
color 200 200 200
drawline E_{c} P_{\_G57934}
color 0 0 0
% Constructing a point C which is an image of the point H_{a} in the symmetry to point/line P_{\_G57934}
sim C P_{\_G57934} H_{a}
cmark_b C
% 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 M_{a}B/M_{a}C=-1
towards B M_{a} C -1
cmark_b B
color 200 200 200
drawsegment C B
color 0 0 0
% 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
% 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: line h_{b} and circle k(E_{c},C) intersect% DET: points H and H_{b} must be different
% Constructing a point P_{\_G58371} which is a foot of the point E_{c} on the line h_{b}
foot P_{\_G58371} E_{c} h_{b}
cmark_r P_{\_G58371}
color 200 200 200
drawline E_{c} P_{\_G58371}
color 0 0 0
% Constructing a point H_{b} which is an image of the point H in the symmetry to point/line P_{\_G58371}
sim H_{b} P_{\_G58371} H
cmark_rt H_{b}
% DET: points C and H_{b} are not the same
% Constructing a line b which passes through point C and point H_{b}
line b C H_{b}
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 H_{a} and E_{c} are not the same
% Determination conditions: lines h_{a} and b are not the same; points C and H_{b} are not the same; points H and H_{b} must be different; points H and B are not the same; points H_{a} and H are not the same; points H_{a} and C must be different; points H_{a} and M_{a} are not the same