problems 8 & 9