Construction in GCLC language
dim 120 120
point M_{a} 65 40
point G 70 58.33
point H 80 72.73
color 220 0 0
fontsize 11
cmark_b M_{a}
cmark_t G
cmark_rt H
color 0 0 0
fontsize 10
% 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
% Constructing a point O such that GO/GH=-0.5
towards O G H -0.5
cmark_t O
color 200 200 200
drawsegment H O
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
% NDG: points A and O are not the same
% Constructing a circle k(O,C) whose center is at point O and which passes through point A
circle k(O,C) O A
color 200 200 200
drawcircle k(O,C)
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
% NDG: line a and circle k(O,C) intersect
% Constructing points C and B which are in intersection of k(O,C) and a
intersec2 C B k(O,C) a
cmark_b C
cmark_b B
drawsegment A B
drawsegment A C
drawsegment B C
% Non-degenerate conditions: line a and circle k(O,C) intersect; points A and O are not the same
% Determination conditions: points M_{a} and O are not the same