Added solutions to the ninth problem