Homework assignment 1, Solutions Problem 1