hw3-solutions.pdf