Added solutions to 5 and 6