The main way the moon affects the Earth is the tides.
(the moon; affects; the Earth) (The main way the moon affects the Earth; is; the tides)
the moon The main way the moon affects the Earth
affects is
the Earth
the tides