input courbescp13;
beginfig(1);
cadre((0,0),(10,13));
origine((1,0.5));
unites(2,1);
draw grille(0.5) withcolor bleu;
draw axes withpen pencircle scaled 1.5bp;
graduationx(btex 1 etex,1);
graduationy(btex 1 etex,1);
draw courbe1(0,4,2,-2*x+12);
draw labelise1(btex $y=-2x+12$ etex,0.15);
endfig;
end