Solve problem 2.7.1