Problems 6 & 7