Answer:
The speed of the astronaut toward the capsule is

Step-by-step explanation:
We have a system of two "particles" which are the astronaut and the hammer.
Initially, they are together and their relative velocities are zero, therefore the initial linear momentum is zero.
As there are no external forces to this system, the momentum is constant. This means that the initial momentum is equal to the final momentum:

where the mass and velocity with h subscript corresponds to the hammer, and the ones with a subscript corresponds to the astronaut.
Then, we clear the velocity of the astronaut, and calculate

which is the speed of the astronaut toward the capsule.