CHAPTERWISE SOLUTION