A man swims in still water of a river of width D with speed v. The river flows with velocity (v/2). He swims making an angle θ with the upstream to cross the river in shortest distance. The time taken to cross the river is
(a) D/V
(b) D/vcosθ
(c) D/vsinθ
(d) D/√2 v