sovled problem 7