Question: how much kinetic energy is converted to heat during the collision?
Answer: The initial kinetic energy of m1 plus m2 is 3/2 Joule. The difference is 1/6th of a Joule which is lost in heat of the collision.