problem 2 SOLVER