Part a)
Here in this we can use momentum conservation as there is no external force on it

here we know that





now by above equation



Part b)
Final kinetic energy of the system



Initial Kinetic energy of the system will be



So here kinetic energy is decreased for this system
final energy is less than initial energy