Q#5, Part 3

Answered all parts pertaining to question #5 of part 3