A boat is moving at a speed of 7 m/s relative to the water. A dog walks from the front to the back of the boat at a speed of 2 m/s relative to the boat. What is the speed of the dog, in m/s, relative to the water?