Solve exercises of lesson 8