A ball of mass 0.5kg moving at 10ms-1 collides with another ball of equal mass…