SRM 371d1 problem 2