Solved Problems 6 & 7