Problem 2

Solving A