problems 4-7, 12