Problems class 5 and part of 6