The metal ball lost energy while the putty ball gained energy.
Momentum is the product of mass and velocity of the body. We must note that momentum before collision is equal to momentum after collision.
1) Kinetic energy before collision = 1/2mv^2 = 0.5 * 6 * 4 = 12 J
2) kinetic energy after collision = 0.5 * 6 * 2= 6 J
3) Kinetic energy of putty ball = 0.5 * 6 * 2= 6 J
4) Energy lost by the metal ball = 12 J - 6 J = 6 J
5) Energy gained by the putty ball = 6 J - 0J = 6 J
6) The rest of the energy was converted to heat after the collision.
Learn more about kinetic energy: https://brainly.com/question/999862