hw 8 solutions