The term you need to know is equilibrium. Technically it means that heat gained = heat lost. Normally in beginning chemistry classes the evidence for this condition is a stable temperature.
To find this we should use the equation Ek=1/2mv^2 where Ek is the kinetic energy, m is the mass and v is the velocity. So by this Ek=1/2*1*30^2 which then makes Ek=450 joules
Answer:

Explanation:
Given data:
Momentum of moving model train, 
Mass of the stationary model train, 
Initial speed of the stationary model train, 
Assume there is no external force is acting on the given train system.
In this case, the total linear momentum of the trains would be conserved.
Let the final linear momentum of the trains be 
Thus,




