hw 6 solutions.pdf