input geometriesyr12;
figure(0,0,6u,6u);
pair A,B,C,D,E,F,G,H,I,J,K,L;
A=u*(1,1.5);
B-A=u*(1,0);
C-B=u*(0,-1);
D-C=u*(2,0);
E-D=u*(0,1);
F-E=u*(1,0);
G-F=u*(0,2);
H-G=E-F;
I-H=B-C;
J-I=C-D;
K-J=H-I;
L-K=A-B;
trace A--B--C--D--E--F--G--H--I--J--K--L--cycle;
trace codesegments(A,B,B,C,1);
trace codesegments(D,E,E,F,1);
trace codesegments(G,H,H,I,1);
trace codesegments(J,K,K,L,1);
trace codesegments(C,D,F,G,2);
trace codesegments(I,J,L,A,2);
trace cotationmil(J,I,3mm,15,btex $x+2$ etex);
trace cotationmil(L,K,3mm,5,btex $x$ etex);
fin;
figure(0,0,8u,6u);
pair A,B,C,D,E,F,G,H;
E=u*(1,1);
F=u*(5,1);
A-E=u*(0,2);
H-E=u*(2,1);
G-F=H-E;
B-F=A-E;
D-H=A-E;
C-G=A-E;
trace E--F--G--C--D--A--cycle;
trace A--B--C;
trace B--F--C;
trace D--H--F dashed evenly;
trace G--H--E dashed evenly;
nomme.llft(E);
nomme.lrt(F);
nomme.urt(G);
nomme.ulft(C);
nomme.top(D);
nomme.lft(A);
nomme.ulft(H);
nomme.lrt(B);
trace marqueangle(F,H,G,0);
trace marqueangle(G,F,C,0);
trace cotationmil(E,F,-6mm,15,btex $6\,cm$ etex);
trace cotationmil(F,G,-6mm,15,btex $4\,cm$ etex);
trace cotationmil(G,C,-6mm,15,btex $2\,cm$ etex);
fin;
end