The pth term will be,
a+(p−1)d
The qth term will be,
a+(q−1)d
The rth term will be,
a+(r−1)d
The sth term will be,
a+(s−1)d
Since these terms are given in G.P., so let x be the first term and y be the common ratio.
a+(p−1)d=x (1)
a+(q−1)d=xy (2)
a+(r−1)d=xy2 (3)
a+(s−1)d=xy3 (4)
Subtracting equation (2) from (1),
(q−p)d=x(y−1) (5)
Subtracting (3) from (2),
(r−q)d=xy(y−1) (6)
Subtracting (4) from (3),
(s−r)d=xy2(y−1) (7)
Dividing equation (6) by (5),
r−qq−p=y (8)
Dividing equation (7) by (6),
s−rr−q=y (9)
From equation (8) and (9),
r−qq−p=s−rr−q
Or,
q−rp−q=r−sq−r
This shows, that (p−q), (q−r) and (r−s) are in G.P.