finished drawing the graphs for 2