A levels Maths

Jo Li

Please help me on this question.

Given that a, b, c are the first three terms of a geometric progression. It is also given that a, c and b are the first three terms of an arithmetic progression. Given that the sum to infidelity its of the geometric progression is S, find S in terms of a.