Solved Problems 5 & 6.