solution for sample test 2 fall 2009 395499