Solve Exercise 2.1