You have to decide on the interface between the moving body and the target. Typically in engineering situations we use a spring and a damper. In a crash we use a structure that crumples, which more nearly approximates a constant force. This is the easiest to work out, using F=m.a and v^2=2.a.s
However that is the least likely scenario.
The spring and damper is a bit more difficult to work out, but it is only a single degree of freedom system, and if you ignore the damping in the first quarter cycle then it is quite simple, since the energy stored in the spring when fully compressed is 1/2*k*x^2, and this is equal to the KE of the mass, 1/2*m*v^2
If you search through the threads you will find a long one on the impact of a steel ball on a steel plate.
Cheers
Greg Locock