This is a common homework problem and I did find a post here that talks about it, but that post was closed to comments, so I am reproducing it to be able to ask a question.
We are, apparently, according to solutions I have found, supposed to recognize that it is an inelastic collision, since...