The common ratio rrr can be found by:
a2−a1a_2 - a_1a2−a1
a2/a1a_2 / a_1a2/a1
a1/a2a_1 / a_2a1/a2
a1⋅a2a_1 \cdot a_2a1⋅a2