Ball 1 has a mass of `m` kg and is at rest. Ball 2 of mass `M` kg travels with an initial speed of 5 and collides inelastically with ball 1. What is the new speed of both balls after the collision?