A body of mass m moving along a straight line covers half the distance with a speed of $2~\text{m s}^{-1}$. The remaining half of the distance is covered in two equal time intervals with speeds of $3~\text{m s}^{-1}$ and $5~\text{m s}^{-1}$ respectively. The average speed of the particle for the entire journey is