$${dm = \frac{M}{L}dx}$$