sovled problem 3