Completed figure 6 exercise.