After having collected samples along the shore all day long, a marine biologist walks back to her campsite, 2.37 km away. Her dog runs ahead, at twice the speed, reaches the campground and turns around until it meets her again. Then, the dog proceeds to run back to the campground again. This continues until the marine biologist reaches her campground. What distance did the dog run?

Give me a break.

the dog ran while the biologist walked. The walking took 2.37km/speedwalking

speed of walking is not given.
Now the dog ran at twice this speed, for the same time.

distance dog=speeddog*time=2speedwalking*2.37/speed walking
dogdistance=2*2.37

Your teacher is too easy. Ask for another teacher.