HW #7 solutions