Tutorial 9 Solution