.
The problem asks for the equation of the ellipse in a Cartesian coordinate system, where Earth is at the origin,
in other words, the focus coinciding with the Earth is the origin.
Such an equation is "the polar form relative to focus" ( see this Wikipedia article
https://en.wikipedia.org/wiki/Ellipse , the section "the polar form relative to focus" )
Such an equation has the form
= ,
where "r" is the distance from the focus to the point at the ellipse (= the current distance from Earth to the moon);
is the angle with the horizontal axis (= with the major semi-axis); "a" is the major semi-axis and
"e" is the eccentricity, i.e. the ratio of the half the distance between focuses to the major semi-axis.
In given problem, the major semi-axis
a = = 3844 of the assigned units (each unit = 100 km),
while the half of the distance between focuses is
e = = 211 of the assigned units.
So the eccentricity is
e = = 0.0549.
Thus the requested equation is
= = = .