An explosion blows a rock into three parts. Two pieces go off at right angles to each other; 1.0 kg piece with a velocity of 12 m/s and other 2.0 kg piece with a velocity 8 m/s. If the third piece flies off with a velocity 40 m/s, compute the mass of third piece.