solutions till the ninth problem