complete plot1 assignment