Homework2 solutions.pdf