week 6 quiz and assignment

Need help getting assignment and quiz completed. Attached is the questions for assignment. Please Help!!