Construction in GCLC language


dim 120 120

point B 20 40
point M_{c} 50 67.5
point G 70 58.33

color 220 0 0
fontsize 11

cmark_b B
cmark_lt M_{c}
cmark_t G
color 0 0 0
fontsize 10


% Constructing a point A such that BA/BM_{c}=2
towards A B M_{c} 2 
cmark_t A
color 200 200 200
drawsegment B A 
color 0 0 0



% Constructing a point C such that M_{c}C/M_{c}G=3
towards C M_{c} G 3 
cmark_b C
color 200 200 200
drawsegment M_{c} C 
color 0 0 0



drawsegment A B
drawsegment A C
drawsegment B C

% Non-degenerate conditions: 
% Determination conditions: