hw 9 solutions