HW2_solution.pdf