Solved Problem 1
Solved Problem 1 using geometric sums