The first term is $8$ and the common difference is $d\neq0$. The first, fifth, and eighth terms of the progression are the first, second, and third terms, respectively, of a geometric progression whose common ratio is $r$.
What are two equations connecting $d$ and $r,$ and how can we use this to show that $r=3/4$ and find the value of $d?$
What is the sum to infinity of the geometric progression?
How can we find the sum of the first eight terms of the arithmetic progression?
The series starts with a, and increases with d, so you get the numbers to be
$a,a+d,a+2d,a+3d,a+4d,a+5d,a+6d,a+7d$ as your 8 terms.
$a, a+4d, a+7d$ are your terms in your geometric one. The multiplication from the first two terms is $\frac{a+4d}{a} $ or $ 1 +\frac{4d}{a}$, and the second multiplications is $\frac{a+7d}{a+4d} $ or $ 1 +\frac{3d}{a+4d}$
For a geometric progression, the multiplication is always the same so $$ 1 +\frac{4d}{a} =1 +\frac{3d}{a+4d}$$ $$ \frac{4d}{a} =\frac{3d}{a+4d}$$ $$ 4d =\frac{3d*a}{a+4d}$$ $$ 4da+ 16d^2 =3da$$ $$ da+ 16d^2 =0$$ $$ 16d^2 =-da$$ $$ -16d =a$$
This means that we can rewrite those geometric progression ratios to
$$ 1 +\frac{4d}{-16d} $$ $$ 1 +-\frac{1}{4} = 3/4$$