Problem 1 solutions.