Apply law of conservation of linear momentum
Momentum of first part `= 1 xx 12 = 12 kg ms^(-1)`
Momentum of second part `= 2 xx 8 xx 16 kg ms^(-1)`
`:.` Resultant momentum
`= sqrt((12)^(2) + (16)^(2)) = 20 kg ms^(-1)`
The third part should also have same momentum
Let the mass of the third part be `M`, then
`4 xx M = 20`
`M = 5 kg`