Answer
See below
Work Step by Step
The total distance traveled by the ball is $h+2\sum^{\infty}_{r=0}(h\times 0.75)(0.75)^{i-1}+8\\=h+2\sum^{\infty}_{r=0} 0.75h(0.75)^{i-1}\\=h+\frac{2a_1}{1-r}\\=h+\frac{2(0.75h)}{1-0.75}\\=h+\frac{2(0.75h)}{0.25}\\=7h$