Construction in GCLC language


dim 120 120

point B 20 40
point M_{c} 50 67.5

color 220 0 0
fontsize 11

cmark_b B
cmark_lt M_{c}
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 BA/BM_{c}=2
towards A B M_{c} 2 
color 220 0 0
fontsize 11
cmark_t A
color 0 0 0
fontsize 10

color 200 200 200
drawsegment B A 
color 0 0 0



% Constructing a free point C
point C 110 40

cmark_b C



drawsegment A B
drawsegment A C
drawsegment B C

% Non-degenerate conditions: 
% Determination conditions: