size(6cm); path p=polygon(6); path triangle=point(p,1)--point(p,3) --point(p,5)--cycle; draw(p,1.5bp+blue); draw(triangle,1bp+red+dashed);