Solution to exam 2012