Construction in GCLC language
dim 120 120
point H_{c} 68.91 84.83
point T_{c} 55.38 72.43
color 220 0 0
fontsize 11
cmark_lt H_{c}
cmark_lt T_{c}
color 0 0 0
fontsize 10
% point M_{c} is given by the problem setting, but it has to belong to the line c which is constructible from the others objects given
% DET: points H_{c} and T_{c} are not the same
% Constructing a line c which passes through point H_{c} and point T_{c}
line c H_{c} T_{c}
color 200 200 200
drawline c
color 0 0 0
% Constructing a point M_{c} such that H_{c}M_{c}/H_{c}T_{c}=0.17997982025091724
towards M_{c} H_{c} T_{c} 0.17997982025091724
color 220 0 0
fontsize 11
cmark_lt M_{c}
color 0 0 0
fontsize 10
color 200 200 200
drawsegment H_{c} T_{c}
color 0 0 0
% Constructing a line h_{c} which is perpendicular to line c and which passes through point H_{c}
perp h_{c} H_{c} c
color 200 200 200
drawline h_{c}
color 0 0 0
% Constructing a point A such that M_{c}A/M_{c}H_{c}=0.17997982025091724
towards A M_{c} H_{c} 0.17997982025091724
cmark_t A
color 200 200 200
drawsegment M_{c} H_{c}
color 0 0 0
% Constructing a point B such that AB/AM_{c}=2
towards B A M_{c} 2
cmark_b B
color 200 200 200
drawsegment A B
color 0 0 0
% Constructing a point P_{\_G90459} with coordinates (10,30)
point P_{\_G90459} 10 30
cmark_r P_{\_G90459}
% Constructing a line L_{\_G90462} which passes through point A and point H_{c}
line L_{\_G90462} A H_{c}
color 200 200 200
drawline L_{\_G90462}
color 0 0 0
% Constructing a line L_{\_G90465} which is perpendicular to line L_{\_G90462} and which passes through point H_{c}
perp L_{\_G90465} H_{c} L_{\_G90462}
color 200 200 200
drawline L_{\_G90465}
color 0 0 0
% Constructing a line L_{\_G90468} which passes through point A and point P_{\_G90459}
line L_{\_G90468} A P_{\_G90459}
color 200 200 200
drawline L_{\_G90468}
color 0 0 0
% Constructing a point C which belongs to line L_{\_G90468} and line L_{\_G90465}
intersec C L_{\_G90468} L_{\_G90465}
cmark_b C
drawsegment A B
drawsegment A C
drawsegment B C
% Non-degenerate conditions:
% Determination conditions: points H_{c} and T_{c} are not the same