input geometriesyr; figure(0,0,8u,6u); pair A,B,C,D,E,F,G,H,I; D=u*(0.75,0.75); C=u*(7.25,0.75); B=u*(7.25,5.25); A=u*(0.75,5.25); trace A--B--C--D--cycle; G=C shifted(u*(-0.5,0)); F=A shifted(u*(0,-1)); H=projection(F,B,C); E=projection(G,A,B); I=droite(F,H) intersectionpoint droite(E,G); trace F--H; trace E--G; nomme.llft(D); nomme.lrt(C); nomme.rt(H); nomme.urt(B); nomme.top(E); nomme.ulft(A); nomme.ulft(F); nomme.ulft(G); nomme.ulft(I); cotationmil(D,G,-2mm,10,btex 8 etex); cotationmil(G,C,-2mm,5,btex $x$ etex); cotationmil(D,F,2mm,10,btex 6 etex); cotationmil(F,A,2mm,8,btex $2x$ etex); fin; figure(0,-3u,8u,5u); pair A,B,C,D,E,O; D=u*(0.75,0.75); C=u*(5.25,0.75); B=u*(5.25,4.25); A=u*(0.75,4.25); trace A--B--C--D--cycle; O=iso(B,D); E=symetrie(O,C); nomme.ulft(A); nomme.urt(B); nomme.bot(C); nomme.llft(D); marque_p:="croix"; nomme.lrt(E); marque_p:="non"; trace A--E; trace B--D; fin; figure(0,0,6u,5u); pair A,B,C,D; D=u*(0.75,0.75); C=u*(5.25,0.75); B=u*(3.75,4.25); A=u*(0.75,4.25); trace A--B--C--D--cycle; draw codeperp(A,D,C,5); draw codeperp(B,A,D,5); nomme.llft(D); nomme.lrt(C); nomme.urt(B); nomme.ulft(A); label.top(btex 3 etex,iso(A,B)); label.lft(btex 4 etex,iso(A,D)); label.bot(btex 5 etex,iso(D,C)); fin; end