An inelastic collision occurs in one dimension, in which a 10 kg block travelling at 5 m/s collides with a 5 kg block travelling at 3 m/s in the same direction, and they stick together. What are the velocities of the blocks immediately after the collision?