Completed homework part 2