A wagon is rolling forward on level ground. Friction is negligible. The person sitting in the wagon is holding a rock. The total mass of the wagon, person and rock is 95.0 kg. The mass of the rock is 0.300 kg. Originally the wagon is rolling forward at a speed of 0.500 m/s. Then the person throws the rock by speed of 16.0m/s. Both the speeds are relative to the ground. Find the speed of the wagon after the rock is thrown directly forward in one case and directly backward in another.