Please solve problems for Chapter 6

https://faculty.uml.edu/klevasseur/ads/chapter_6.htmlsolve only the problems for chapter 6 exercises . see example in attatchment