To find the distance to the moon, humans first had to find t…

To find the distance to the moon, humans first had to find the size of the earth.  So they knew the radius of the earth (about 4000 miles) and they also were able to measure angle E.  Hence, using the figure above, what is the equation used to find the distance from the center of the earth to the moon?