solutions to 6-9