To find the swimmer's speed in still water, we need to understand the relationship between the swimmer's upstream and downstream speeds. The swimming speed in still water can be calculated using the formula:
\[
\text{Speed in still water} = \frac{\text{Upstream speed} + \text{Downstream speed}}{2}
\]
Step 1: Analyze Statement 1.
Statement 1 gives the swimmer's speed upstream as 3 km/h. However, we also need to know the downstream speed to calculate the speed in still water, so Statement 1 alone is insufficient.
Step 2: Analyze Statement 2.
Statement 2 gives the swimmer's speed downstream as 5 km/h. Again, we need the upstream speed to calculate the speed in still water, so Statement 2 alone is also insufficient.
Step 3: Use both statements together.
By combining both statements, we have the upstream speed (3 km/h) and the downstream speed (5 km/h). Using the formula:
\[
\text{Speed in still water} = \frac{3 + 5}{2} = 4 \, \text{km/h}.
\]
Thus, both statements are needed to answer the question.
Step 4: Conclusion.
Therefore, the correct answer is option (3): Both the statements are needed to answer the question.