Consider the adjacent figure. The cube shaped carriage ABCDEFGH of side l has a mass M and it can slide over two frictionless rails PQ and RS. A shot of mass m is thrown from corner A such that it lands at corner F. The angle of projected as seen from the carriage is 450. While the shot is in the air, the velocity of carriage as seen from the ground is :