Adding problems 4 and 5 part a