Let a be the first term and r be the common ratio of G.P.
According to the given condition,
a5=ar5−1=ar4=p...(1)a8=ar8−1=ar7=q...(2)a11=ar11−1=ar10=s...(3)
Dividing equation (2) by (1), we obtain
ar7ar4=qp⇒r3=qp....(4)
Dividing equation (3) by (2), we obtain
ar10ar7=sq⇒r3=sq....(5)
From (4) and (5) we obtain
qp=sq⇒q2=ps