week-9 problem-5 solved