A body of mass 18kg moving with velocity 4ms-1 collides with another body of mass…