An example using formulas for geometric sequences, and a brief explanation for where those formulas come from