Construction in GCLC language
dim 120 120
point M_{c} 50 67.5
point H_{a} 80 40
color 220 0 0
fontsize 11
cmark_lt M_{c}
cmark_b H_{a}
color 0 0 0
fontsize 10
% point A is given by the problem setting, but it has to belong to the circle k(M_{c},A) which is constructible from the others objects given
% NDG: points H_{a} and M_{c} are not the same
% Constructing a circle k(M_{c},A) whose center is at point M_{c} and which passes through point H_{a}
circle k(M_{c},A) M_{c} H_{a}
color 200 200 200
drawcircle k(M_{c},A)
color 0 0 0
% Generating number V[_G13571] with value 0.44067275187741084
number V[_G13571] 0.44067275187741084
% Calculating value V[_G13592] using formula V[_G13571]*360
expression V[_G13592] { V[_G13571]*360 }
% Constructing a point A which is an image of the point V[_G13592] in a rotation around the point M_{c} for the angle H_{a}
rotate A M_{c} V[_G13592] H_{a}
color 220 0 0
fontsize 11
cmark_t A
color 0 0 0
fontsize 10
color 200 200 200
drawarc_p M_{c} H_{a} V[_G13592]
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
% DET: points H_{a} and B are not the same
% Constructing a line a which passes through point H_{a} and point B
line a H_{a} B
color 200 200 200
drawline a
color 0 0 0
% Constructing a point C such that H_{a}C/H_{a}B=0.44067275187741084
towards C H_{a} B 0.44067275187741084
cmark_b C
color 200 200 200
drawsegment H_{a} B
color 0 0 0
drawsegment A B
drawsegment A C
drawsegment B C
% Non-degenerate conditions: points H_{a} and M_{c} are not the same
% Determination conditions: points H_{a} and B are not the same