A man swimming downstream overcomes a float at a point M. After travelling distance D, he turned back and passed the float at a distance of D/2 from the point M. Then the ratio of speed of swimmer with respect to still water to the speed of the river will be:
a) 1
b) 2
c) 3
d) 4