Determining Speed, Temperature and Thermal Energy
How do you determine the speed just before blocks collide? How do you determine the temperature rise that results from the collision? How do you determine the additional thermal energy that is generated as the blocks continue to move together after the collision?© SolutionLibrary Inc. solutionlibary.com 9836dcf9d7 https://solutionlibrary.com/physics/classical-mechanics/determining-speed-temperature-and-thermal-energy-2tk
... apply Newton's laws to determine the speed.
As for the energy question. You have to consider energy conservation. The energies include kinetic and thermal energy in your case. So, you need to know how the two blocks will move ...