plot triangle (0,0),(5,0),(2,4)