Outlined problem 9 and 10