1. Finding the sum of the finite terms of a geometric
sequence

2. Finding the sum of the infinite terms of a geometric
sequence​