finished problems 9 and 11