Homework

Hope I did this right.