Completed Problems 6 & 7