How do you find the n-th partial sum of a geometric series?