Step 1: Picture the two-mass spring.
Masses $m$ and $3m$ are joined by a spring on a frictionless table. With nothing pushing from outside, the centre of mass stays put and the two masses oscillate about it.
Step 2: Use the reduced mass shortcut.
A two-body spring behaves like a single mass on a spring, where that single mass is the reduced mass \[ \mu = \frac{m \cdot 3m}{m + 3m} = \frac{3m}{4}. \]
Step 3: Find the angular frequency.
With $k = m\omega_0^2$, \[ \omega = \sqrt{\frac{k}{\mu}} = \sqrt{\frac{m\omega_0^2}{3m/4}} = \sqrt{\frac{4}{3}}\,\omega_0 = \frac{2\omega_0}{\sqrt{3}}. \]
Step 4: Split the initial stretch between the masses.
The stretch $l$ is shared so that each mass moves inversely to its mass. The light mass $m$ takes the bigger share, \[ A_m = l \cdot \frac{3m}{m + 3m} = \frac{3l}{4}. \]
Step 5: Get the maximum speed of mass $m$.
For simple harmonic motion the top speed is amplitude times angular frequency, \[ v_{\max} = A_m \, \omega = \frac{3l}{4} \cdot \frac{2\omega_0}{\sqrt{3}}. \]
Step 6: Tidy up the expression.
\[ v_{\max} = \frac{6 l \omega_0}{4\sqrt{3}} = \frac{3 l \omega_0}{2\sqrt{3}} = \frac{\sqrt{3}\,\omega_0 l}{2}. \] \[ \boxed{v_{\max} = \dfrac{\sqrt{3}\,\omega_0 l}{2}} \]