In fact, the wave like indentation was formed as a glacier scraped by, taking rock with it.
(the wave like indentation; was formed; as a glacier; taking rock with it) (a glacier; scraped; by)
the wave like indentation a glacier
was formed scraped
as a glacier taking rock with it
by