added solutions to 9 and 10