Looking at the units, 756 meters divided by 6 m/s will give you the seconds that you need.
So for A) 756/6 = 126
For B, you take the answer from A, and subtract 18 seconds, which would make it 108. Then you take the distance, 756 and divide by 108, that will be the speed.