Answer: D. Distance from m: d₁ = 3m × L/(m + 3m) = 3L/4. Distance from 3m: d₂ = m × L/(m + 3m) = L/4. Ratio d₁ : d₂ = 3 : 1. The CM is 3 times farther from the lighter mass than from the heavier mass (NCERT Class 11 Physics Chapter 6, page 95).
Why A is wrong: A gives 1 : 3, which inverts the ratio. The CM is closer to the heavier mass (3m), so the distance from the lighter mass (m) must be the larger number, giving 3 : 1, not 1 : 3. (trap: mass-weighting inversion)
Why B is wrong: B gives 2 : 1, which would correspond to a mass ratio of 1 : 2, not the given 1 : 3.
Why C is wrong: C gives 1 : 1 (midpoint), valid only for equal masses. Here the mass ratio is 1 : 3, so the CM cannot be equidistant. (trap: equal-distribution default)