hw 1 solution.pdf