finishing the last question on homework

last question on the day 3 homework