Click ex2-solutions.pdf link to view the file.