Formated problem 9