Click hw2-sol.pdf link to view the file.