Homework part 2

I'm still getting used to all this.