solution of problem 3