Use conservation of linear momentum and keep in mind that the centre of mass of the system still falls along the same path before the tank fires the shell and after it fires the shell. Once you find the velocity of the tank (or the shell, whichever one you want), it becomes a fairly easy...