When two bodies move uniformly towards each other, the distance between them diminishes by 16 m every 10 s. If bodies move in same direction with velocities of the same magnitude as before, the distance between them will decrease by 3 m in every 5 s. The speed of each body is