Right, this is tricky. remember, e = speed of seperation/speed of approach
Ball falls from height h so travels an ititial h. Since it falls from rest its speed as it hits plane is sqrt(2gh) [using]
therefore its speed of seperation is e*sqrt(2gh)
we calculate the height it reaches above the plane to be he^2, so ball falls a total of 2he^2 before hitting the plane again.
Since the ball is now falling from he^2 , its new speed of approach is
e*sqrt(2gh)
therefore its speed of seperation is e^2*sqrt(2gh) , and it reaches a height of he^4 on 2nd bounce, and hence travels 2he^4 before hitting plane again.
This will continue indefinitely to give the infinite sum
Total Distance = h + 2he^2 + 2he^4 + 2he^6 + ...
= h + 2h[ e^2 + e^4 + e^6 + ... ]
= h + 2h[ e^2/(1 - e^2) ] using sum of a Geometric series
= (h - he^2 + 2he^2)/(1 - e^2)
= h(1 + e^2)/(1 - e^2)
as required