What I did was consider a circular orbit around the Sun. We'll have the comet's velocity tangential to its movement (vorb) and a radial velocity pointing towards the sun due to the ejected particles (vej). Therefore we can find the total velocity to be vtot=√(vorb^2 + vej^2).
What I did after...