hw 7 solutions