Sedimentary rocks were formed by the weathering and erosion of previous rocks.
(Sedimentary rocks; were formed; by the weathering and erosion of previous rocks)
Sedimentary rocks
were formed
by the weathering and erosion of previous rocks