Construction in GCLC language


dim 120 120

point M_{a} 65 40
point G 70 58.33

color 220 0 0
fontsize 11

cmark_b M_{a}
cmark_t G
color 0 0 0
fontsize 10


% point A is given by the problem setting, but it has to be constructible this way, otherwise the problem has no solution

% Constructing a point A such that M_{a}A/M_{a}G=3
towards A M_{a} G 3 
color 220 0 0
fontsize 11
cmark_t A
color 0 0 0
fontsize 10

color 200 200 200
drawsegment M_{a} A 
color 0 0 0



% Constructing a free point B
point B 20 40

cmark_b B



% Constructing a point C such that BC/BM_{a}=2
towards C B M_{a} 2 
cmark_b C
color 200 200 200
drawsegment B C 
color 0 0 0



drawsegment A B
drawsegment A C
drawsegment B C

% Non-degenerate conditions: 
% Determination conditions: