The given numbers are
Let the common ratio of the first two terms and last two terms of the G.P. be
The common ratio of the first two terms is given by,
The common ratio of the last two terms is given by,
If all the terms are in G.P., then
Substitute the values of
Further simplify the above equation.
Thus, for