Problem 2

Problem A