Code and graph for plot 1.
Plot 2
Plot 3
Plot 4.