Completed code
Plot 1