Solve exercises of lesson 7