A swimmer wishes to cross a 500m wide river flowing at 5 km/h. Its speed with respect to water is 3 km/h. It he heads in a direction making an angle θ with the flow, the time he takes to cross the river and shortest possible time to cross the river is