exam august 2012, problem 3