As the glacier moves slowly down the mountain, it grinds against the ground and the walls of the valley to make it deep and wide.
(it; grinds; ) (the walls of the valley; to make; it deep and wide)
it the walls of the valley
grinds to make
it deep and wide