How to deduce the formula (mass concentration of substance = 1000 * density * mass fraction / molar mass)?

How to deduce the formula (mass concentration of substance = 1000 * density * mass fraction / molar mass)?

The quantity of solute -- N, the volume of solution -- V, the density of solution -- ρ, the mass fraction of solution -- W, the molar mass of solute m, the mass of solute M = ρ VW = nm, n = ρ VW / m, and the mass concentration of solute C = n / v = ρ VW / M / v = ρ w / m, but in chemistry, the unit of volume is generally L (L), and the unit of density is g / cm3