A deep-space exploratory probe of total mass 3M 3M\,3M is drifting through a region of negligible gravity at a constant speed vvv.
An internal spring-loaded mechanism is triggered, separating the probe into two components, X and Y, of masses M M\,M and 2M 2M\,2M respectively, as shown in the diagram.

Immediately after the separation, component X (mass MMM) continues moving in the original direction of travel but at an increased speed of 3v3v3v. Component Y (mass 2M2M2M) immediately comes to a complete rest.
Explain, with reference to calculations and physics principles, how both momentum and energy are conserved during this separation.