problems 4 & 6