Notice that we can use the trigonometric function tangent to find the distance between the Earth and the Sun with the following expression:

then, if the scientist only have the measure of the distance between the earth and the moon and the angle that forms between the earth and the moon in the sun, we can find out the distance between the Earth and the Sun