Solutions for exam 2