Problem 2 answer