input geometriesyr12;
figure(0,0,10u,10u);
  pair A,B,C,M,N,D,H;
  B=u*(1,1);nomme.llft(B);
  C=u*(7,1);nomme.lrt(C);
  A=u*(3,4);nomme.top(A);
  draw triangle(A,B,C);
  M=3/5[A,B];nomme.lft(M);
  N=3/5[A,C];nomme.rt(N);
  D=perpendiculaire(B,C,A) intersectionpoint (M--N);nomme.ulft(D);
  H=perpendiculaire(B,C,A) intersectionpoint (B--C);nomme.bot(H);
  draw M--N;
  draw A--H;
  draw codeperp(A,D,N,5);
  draw codeperp(A,H,C,5);
fin;
end