Help me with this ques.

Hey i have a question i cant solve it but m very curious to know its solution
Help me!!
Here it is:

Two rays are drawn through a point at an angle of 30*.A point B is taken on one of them at a distance d from the point A.A perpendicular is drawn from the point B to other ray and another perpendicular is drawn from as foot to meet AB at another point from where similar process is repeated indefinitely.
Calculate the length of the resulting infinite polygonal line.

Hey i have a question i cant solve it but m very curious to know its solution
Help me!!
Here it is:

Two rays are drawn through a point at an angle of 30*.A point B is taken on one of them at a distance d from the point A.A perpendicular is drawn from the point B to other ray and another perpendicular is drawn from as foot to meet AB at another point from where similar process is repeated indefinitely.
Calculate the length of the resulting infinite polygonal line.

I suppose point A is the intersection point of both rays...then, after choosing point B on ray 1 and drawing from it a perpendicular to ray 2 you get a straight-angle triangle 30-60-90, sometimes aka golden triangle, with hipotenuse d, and thus the leg opposite to the 90 deg. angle is half the hipotenuse ==> the first part of the polygonal line is , and the other leg's length is, by Pythagoras, . Repeat the process, again you get a 30-60-90 triangle but with hipotenuse , so this time the polygonal line's length is , and etc.

I suppose point A is the intersection point of both rays...then, after choosing point B on ray 1 and drawing from it a perpendicular to ray 2 you get a straight-angle triangle 30-60-90, sometimes aka golden triangle, with hipotenuse d, and thus the leg opposite to the 90 deg. angle is half the hipotenuse ==> the first part of the polygonal line is , and the other leg's length is, by Pythagoras, . Repeat the process, again you get a 30-60-90 triangle but with hipotenuse , so this time the polygonal line's length is , and etc.