problem 10 and 12