Click HW2 solutions.pdf link to view the file.