solution for problem 2 6635681