Problem 8 answer