Blazing goIITian
no ans should be 3000J
see
initial momentum is 20 * 20 - 10 * 10 = 300kgm/sec
now conserving momentum
30 * V = 300
=> both will move together with 10m/sec
so energy lost = initial energy - final energy = 4500 - 1500 = 3000J